Arduino IDE 2.0.0-rc8 available for download!

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

  1. Open the "Command Palette".
    (Ctrl+Shift+P or Command+Shift+P by default)
  2. Run the "Preferences: Open Settings (UI)" command.
  3. 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.
  4. 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:

image

(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:

  1. Open the "Command Palette".
    (Ctrl+Shift+P or Command+Shift+P by default)
  2. Run the "Preferences: Open Settings (UI)" command.
  3. 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)
  4. 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:

https://github.com/arduino/arduino-ide

2 Likes

I don't trust it :cry:

I'm running a zip install of rc7 and the update offers to install for me or for all users. Is there an option to overwrite the existing rc7 zip installation?

Unfortunately, no. This is a limitation imposed by the free open source electron-builder / electron-updater framework used for the packaging and auto update capabilities of the Arduino IDE 2.x:

https://www.electron.build/auto-update#auto-updatable-targets

However, even if we miss the convenience of a fully automated update, I think the update notification can be useful even to those of us who prefer the ZIP packaged version of the IDE simply to bring to our attention the availability of a new version.

I'm regularly astonished to see the old versions of the IDE some people (even, inexplicably, newcomers) are using. It makes support more challenging because we must consider historical bugs and feature sets in addition to the current state of the IDE.

I agree that it's convenient. Just wanted to know :wink: I will do a ZIP install again.

I'm still on 1.8.5; if it ain't broke, don't fix it :slight_smile: With portable installs of 1.8.13 and 1.8.19 and a ZIP install of 2.0 Beta.

You are aware that not too long ago, there were two pages from where one could download the software. One page gave 1.8.19, the other page (from memory) 1.8.13; that issue was solved.

3 posts were split to a new topic: Can you start it from a linux file manager yet?

5 posts were split to a new topic: I don't see clandg.exe running

On the little update popup, is there any way for it to recognize how you installed it? Like for example, a .exe install doesn't work with windows 7, so I have to use the .msi installer. The update window apparently downloads the .exe installer when you hit download. Ideally it would download the file that you installed it from or else have a dropdown menu to select which installer to download. Just a thought

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.