-
-
Notifications
You must be signed in to change notification settings - Fork 7k
More useability for serial monitor / editor #5921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
added "show timestamp" checkbox to serial monitor
LGTM! Did you measure if there is any performance issue with the timestamp enabled, using a sketch like this one
on a board with native USB serial? |
@ArduinoBot build this please |
@facchinm, I tested it with a NodeMCU. All works fine without performance issues... |
added a custom title setting: If the setting is not available, the default style will be used. possible options: |
@Michaelsy unfortunately nodeMCU uses an USB to serial converter so the speed is capped (instead, on boards with serial over USB, the speed is much faster) . I'll test your PR on a Zero, just wondering why @ArduinoBot is still asleep... |
With the timestamp enabled, on the sample sketch I posted earlier with a Zero, the heap usage ramps to 900MB but then the garbage collector acts good. CPU usage increases from 2-3% to 20% but this is an hardcore test so overall it looks good from a performance POW. |
Hi, I am wondering about the 'Clear Output' feature, is it really needed? Closing the serial monitor will clear the output anyway. |
@00alis the default is unchecked. It will be saved in the preferences. I think the button don't disturb the user and its easier to clear the output then "closing window and reopen". I will change the position to the right side. |
I'm very concerned about this PR's performance. Testing is really needed with a fast native USB board like Arduino Due or Teensy 3.x. Arduino Micro & Zero are native USB, but they lack the optimized USB code and/or CPU performance to fully utilize even 12 Mbit/sec USB. |
@PaulStoffregen I'll test again with a Due and report the results here 😉 |
…ch menu item) ADDED: setting for autoformat before saving (editor.autoformat_currentfile_before_saving") CHANGED: move "clear ouput" button from left to right side (Serial Monitor)
I moved the button from left to right. @00alis |
Anyone know what happened to @ArduinoBot ? |
We are investigating, it seems that github changed something so the jenkins plugin is unable to be triggered by @mentioning it. I'd prefer to avoid updating the plugin since the last time it replied to ~120 PRs but maybe it's the only way 😄 |
@ArduinoBot build this please. |
✅ Build completed. Please test this code using one of the following: ⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-5921-BUILD-653-linux32.tar.xz ℹ️ The |
Hi! How about add a reset button to serial monitor to prevent open and close the window to reset the board? Best regards. |
I've merged (cherry picked) into master the commits for:
(I've also slightly amended them to remove extra whitespaces) I'm now rebasing the remaining changes to master and resolve conflicts. Anyway, it's better to not have multiple changes in a single PR, please push them into many different branches/PR so we can review and merge each one separately, even if it seems cumbersome it definitely makes things easier. |
The last commit in this PR, that has been added later I presume, is:
This kind of "cumulative patch" commits must be absolutely avoided because, without extra editing/amending, it forces to pick the patch altogether. BTW this is just a note for the future, now I've spitted the commit into three smaller commits in #6178 so let's continue the discussion there. |
Github has a saying "anything added dilutes everything else". |
added "clear output" button to serial monitor
added "show timestamp" checkbox to serial monitor
added configurable shortcut for comment / uncomment
added setting to show always file extensions