IDE 2.0 beta4 available for download!

After three weeks since the IDE 2.0 announcement, we are releasing a new beta version with many bugfixes. Thank you everybody for the support and the reports: this wouldn't be possible without your help, so please keep testing and stress testing the IDE. You can report issues in this forum board or join the technical discussion directly in the GitHub repository.

Added

  • Support toggled state in arduino toolbar items
  • Use CLI 0.17.0
  • Integrated search in workspace into IDE
  • Added error handling for core/lib install
  • Support for nested sketchbook structure

Changed

  • editor.quicksSuggestions.other defaults off
  • Use "board search" command from the CLI
  • removed settings cog from sidebar (only accessible through Theia advanced settings)
  • Added overwrite confirmation to ZIP lib install
  • Moved the './theia/launch.json' config into a temp folder.
  • Use vscode-arduino-tools VSX.

Fixed

  • Fixed sorting of sketches and examples - ignore case
  • Fixed recursive folder issue on "Save as"
  • Correct typo in gRPC client creation error message
  • Fixed workspace variable resolver.

The beta4 can be downloaded here: https://www.arduino.cc/en/software#experimental-software

1 Like

(only accessible through Theia advanced settings)

How is that accessed ?

Hi @UKHeliBob. The more advanced features of Arduino IDE 2.x are accessed via the Command Palette.

You can open the Command Palette with either the F1 key or Ctrl + Shift + P (Cmd + Shift + P on macOS). You will now be presented with a long list of interesting looking things. Fortunately, there is a search field you can use to find what you're looking for.

In this case, do a search for "settings", then select "Settings: Open Preferences" from the search results.

Thanks Per

I think that there is danger that what started as a basic and easy to use IDE becoming more an more complicated because features useful to more experienced programmers are added

By definition the new IDE is being implemented by experienced programmers for whom an obtuse key combination such as Ctrl + Shift + P to access settings is no problem but which beginners or more casual users would find daunting. In addition to that, when the settings dialogue has been opened there are so many options available that many will be frightened off or possibly worse, will experiment to the detriment of their use of the IDE

In some other software that I use there is the option to switch between simple and advanced modes which hides some potentially "dangerous" options when in simple mode. Do you know whether such a facility is in the plans for IDE v2 ? Perhaps a staring point would be to offer only the Arduino options when in simple mode to make the selection available more focussed on the needs of inexperienced users

thanks , change languagge to english --> italian?? possible ?

UKHeliBob:
I think that there is danger that what started as a basic and easy to use IDE becoming more an more complicated because features useful to more experienced programmers are added

I agree, and this is why I specifically requested that the button to access these advanced settings, which a beginner has absolutely no use for, be removed from its previous place in the UI, which was far more prominent than the standard File > Preferences that provides all the options the normal user needs.
https://github.com/arduino/arduino-ide/issues/15

UKHeliBob:
By definition the new IDE is being implemented by experienced programmers for whom an obtuse key combination such as Ctrl + Shift + P to access settings is no problem but which beginners or more casual users would find daunting. In addition to that, when the settings dialogue has been opened there are so many options available that many will be frightened off or possibly worse, will experiment to the detriment of their use of the IDE

This is perfectly fine though. A beginner should never open this in the first place, so the fact that it is hard to access and confusing once you do access it is perfectly fine. Many advanced users will be experienced with VS Code, and so find the Arduino IDE 2.x Command Palette familiar.

The advanced settings in the classic Arduino IDE could only adjusted by:

  • Select File > Preferences from the menu.
  • Click the link at the line following “More preferences can be edited directly in the file”. This will open a folder named something like “Arduino15” (depending on OS).
  • Close all Arduino IDE windows.
  • From the folder that was loaded, open the file preferences.txt in a text editor.
  • Add or modify a cryptic configuration property.
  • Save preferences.txt.
  • Start the Arduino IDE.

That is certainly no process to require of a beginner. Yet we got along perfectly well with that approach. The reason was that File > Preferences provided everything the beginner needs and the type of user who does have a need for the advanced settings is perfectly capable of opening and editing a text file.

So this new UX is actually easier. Of course, you also have the option of opening ~/.arduinoIDE/settings.json in a text editor and modifying it directly if you prefer the old school approach.

UKHeliBob:
In some other software that I use there is the option to switch between simple and advanced modes which hides some potentially “dangerous” options when in simple mode. Do you know whether such a facility is in the plans for IDE v2 ? Perhaps a staring point would be to offer only the Arduino options when in simple mode to make the selection available more focussed on the needs of inexperienced users

This is how Arduino Pro IDE worked, and there is a request for it to be added back here:
https://github.com/arduino/arduino-ide/issues/150
But what do you consider to be the “dangerous” options. The Command Palette is already not accessible to beginners, so we don’t need to worry about any of that.

gigetto1982:
thanks , change languagge to english --> italian?? possible ?

Unfortunately it's not currently possible. There is a feature request here:

If you need internationalization, you can use the classic Arduino IDE, which is translated into 83 languages, including Italian!

Unfortunately, the IDE takes a lot longer to start.

Per - with regard to accessing settings, on reflection I agree with much of what you said, and I will give it some thought before deciding whether to reply

Thanks for all of the effort that you are putting into fielding comments about the new IDE

Thx m8, oke its beta.
But i am a big fan.
There is still wip

got "debugging is not supported by arduino nano every".
is this on the way to become reality ?

I am not an expert, but would really appreciate a debugger like some other tools i used to use.
I imagine this is a really tough job to implement, but what great would it be.

Hello
I am struggling with installation of IDE 2.0 under Ubuntu 18.04 and in my laptop under Kubuntu 18.04.
I start ./arduino-ide.
It starts but I get error message
Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/harry/arduino-ide_2.0.0-beta.4_Linux_64bit/resources/app/node_modules/nsfw/build/Release/nsfw.node).
I have tried to update library but not succeeded. What to do?
regards
Esa N

Hello @OH2AWG. This is a known issue with the 2.0.0-beta4 release:

It has already been fixed. Please try the “Nightly build” of Arduino IDE 2.x:

Thank you wery much.
I will try and it works.
It solved my other problems when I try to use Nano or Uno using 20MHz cpu.
I was using 1.8.13.
I will eagerly wait for version 2.0.
Have a nice weekend
regarrds
Esa N

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

I have installed version 1.8.13 and version 2.0 of IDE, but the latter can’t be opened. What should I do if I don’t want to delete the old version of IDE

Hi @caodawei. I’m sorry to hear you’re having trouble with the beta stage Arduino IDE 2.x.

Are you using the latest 2.0.0-beta.5 version that was just released today? If not, please download that from the software page and try it out:
https://www.arduino.cc/en/software#experimental-software

Please provide a detailed description of what you mean by “can’t be opened”, including the full and exact text of any error messages you might be seeing.

I’m so glad you’ve replied. I’m going to download beta 5. I’m using beta 4

1 Like

我安装了beta5,可是仍然还是打不开,估计是和1.8.13版本冲突了,可是我暂时不想删除 旧版本的IDE,怎么办呢?

I’ve installed beta 5, but I still can’t open it. I guess it conflicts with version 1.8.13, but I don’t want to delete the old version of IDE. What should I do?