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