A new release candidate of Arduino IDE 2.0.0 is now available.
If you are using a recent version of the IDE, you will get an auto-update offer simply by starting the IDE.
Otherwise, they are available for download here:
https://www.arduino.cc/en/software#experimental-software
This release provides some nice advancements and fixes.
Thanks so much to the forum community for all the valuable testing and feedback that has helped us greatly in identifying and investigating these bugs and enhancements!
Fix bug that caused compilation and upload output to be printed very slowly to the Output panel
https://github.com/arduino/arduino-ide/pull/1058
This bug gave users the impression that compilations or upload operations were significantly slower in Arduino IDE 2.x than Arduino IDE 1.x when really it was only the printing of the output that was going slowly.
Fix bug that caused uploads to fail when Serial Monitor/Plotter was open
https://github.com/arduino/arduino-ide/pull/1040
Previously, uploads to native USB boards (e.g., Leonardo, MKR, Nano 33 BLE) failed when Serial Monitor was open (arduino/arduino-ide#1032
).
Fix bug that caused IDE to be non-functional if a platform with invalid boards configuration was installed
https://github.com/arduino/arduino-ide/pull/1045
Previously, if certain older versions of 3rd party Arduino boards platforms (e.g., ESP8266 <= 3.0.0) were installed, the IDE would start in a state with no Boards menu, Boards Manager, Library Manager, etc. functionalities (arduino/arduino-ide#1036
).
NOTE: there is still an outstanding variant of the issue which is triggered by having an invalid "Additional Boards Manager URLs" preference entry (arduino/arduino-ide#1084
).
Color error/warning compilation and upload output red
https://github.com/arduino/arduino-ide/pull/1064
This special coloration, long established in Arduino IDE 1.x but missing in Arduino IDE 2.x until now (arduino/arduino-ide#229
), makes it easier to differentiate the essential warning and error messages from the informational text in the output.
Identify sketch code lines that caused a compilation error
https://github.com/arduino/arduino-ide/pull/1071
This long standing feature from Arduino IDE 1.x, where the associated line of sketch code is scrolled to and highlighted on a compilation error, is now present in Arduino IDE 2.x.
The standard behavior is to identify only the line associated with the first error. However, an enhanced capability is now available which allows you to navigate to each of the relevant lines of code in the event there were multiple compilation errors.
That experimental enhancement must be enabled in the advanced settings. I'll provide instructions for anyone who wants to give it a try:
Click to see instructions
Enabling multiple compilation error identification
- Open the "Command Palette".
(Ctrl+Shift+P or Command+Shift+P by default) - Run the "Preferences: Open Settings (UI)" command.
- Check the checkbox next to the "☐ True if the IDE should handle multiple compiler errors. False by default" setting under the "Arduino › Compile: Experimental" section.
- Click the X icon on the "Preferences" tab.
If your sketch produces multiple compilation errors and you place the cursor on a line with an error highlight, you will then see a "Previous Error" and a "Next Error" link appear above it. Clicking those links will cause the previous/next error line to be revealed in the editor:
(not so interesting in the trivial sketch shown in the screenshot, but certainly useful in a larger or multi-file sketch)
Customizing error line reveal behavior
There is also an advanced option to customize the way the sketch code line is scrolled to in the editor:
- Open the "Command Palette".
(Ctrl+Shift+P or Command+Shift+P by default) - Run the "Preferences: Open Settings (UI)" command.
- Select your preferred setting from the menu under the "Arduino › Compile: Reveal Range" settings section.
(see the description there for a detailed explanation of each option) - Click the X icon on the "Preferences" tab.
Please let us know if you have any feedback on these new advanced features.
Improve Sketchbook view rendering of subfolder structure
https://github.com/arduino/arduino-ide/pull/1097
The IDE's "Sketchbook" view now does a better job of visually representing the tree structure of sketchbooks and sketches that are organized into subfolders (arduino/arduino-ide#1050
, arduino/arduino-ide#1049
).
Fix bug that caused duplicated editor tabs
https://github.com/arduino/arduino-ide/pull/1085
Previously, certain actions could result in sketch tabs being duplicated unexpectedly in the Arduino IDE (arduino/arduino-ide#1054
).
Remove non-functional File > New File and File > New Window menu items
https://github.com/arduino/arduino-ide/pull/1071
The superfluous and non-functional (arduino/arduino-ide#1014
) New File was introduced accidentally and the rarely used New Window broken during the recent update of the Eclipse Theia IDE framework the Arduino IDE is built on.
Full changelog here:
https://github.com/arduino/arduino-ide/releases/tag/2.0.0-rc8
If you have any questions or feedback please post here in the Arduino IDE 2.x's dedicated forum category:
https://forum.arduino.cc/c/software/arduino-ide-2-0-beta/93
If you want to see the list of known issues, work in progress, submit a formal report, or contribute to development, the IDE 2.x source code is hosted in this public repository: