In the beta version there was an icon to configure the IDE, but in the rc7 version there is no more. Is there something equivalent to the IDE 1.8 "preferences.txt" file in IDE 2.0?
Hi @renatourbinati1. Just the same as in Arduino IDE 1.x, select File > Preferences from the Arduino IDE menus to configure the Arduino IDE.
This option is very limited, there was an icon in the beta version (in the form of a gear in the lower left corner) that opened many options, these options seemed to be equivalent to the "preferences.txt" file from the previous IDE.
That file allowed configuring the tab, default screen size and many others.
In Arduino IDE 2.0.0-rc7, these advanced settings can only be configured by editing the settings.json file directly.
You can access that file by following these instructions:
- Open the "Command Palette".
(Ctrl+Shift+P or Command+Shift+P by default) - Run the "Preferences: Open Settings (JSON)" command.
If you prefer the previous GUI-based advanced settings interface, you'll be glad to learn that was restored recently:
That was done after the Arduino IDE 2.0.0-rc7 release, so you will need to use the nightly build in order to have access to the advanced settings UI. The download links for the nightly build are listed here;
https://github.com/arduino/arduino-ide#nightly-builds
I'll provide instructions for accessing the advanced settings UI:
- Open the "Command Palette".
(Ctrl+Shift+P or Command+Shift+P by default) - Run the "Preferences: Open Settings (UI)" command.
Thanks for the help, I managed to tweak the items I wanted.
You are welcome. I'm glad if I was able to be of assistance.
Regards, Per
Using 2.0.1I don't see an icon to open the advanced settings. Using the "Preferences: Open Settings (UI) " command shows only one line:
" "arduino.cloud.enabled": true"
Where are the rest of the settings?
@DLye don't you get something like this?
Thanks!
I was trying to turn off "trim trailing whitespace" setting and for some reason (space between "white" and "space") I couldn't find it. Another post suggested changing the JSON file, that's where it had only the one entry.
Your post helped my realize that I was looking in the wrong place. All better now and I see that the JSON file has been updated by the IDE.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
