Hello,
Is there a way to go back to 2.2.1 IDE? I'm seeing issues with syntax color coding and worse, I just lost 1/2 day of fixes. IDE seems to have just wiped out todays work and possibly more
Hi @gjacobs101. I'm sorry about the problems with Arduino IDE 2.3.0.
I'll provide instructions you can follow to install Arduino IDE 2.2.1:
-
Click the following link to open the page for the 2.2.1 release in the Arduino IDE GitHub repository:
Release 2.2.1 · arduino/arduino-ide · GitHub -
From the list of download links under the "Assets" section of the page, click the link with the name:
- If you want the installer package: arduino-ide_2.2.1_Windows_64bit.exe
- If you want the "MSI" package: arduino-ide_2.2.1_Windows_64bit.msi
- If you want the "ZIP" package: arduino-ide_2.2.1_Windows_64bit.zip
ⓘ If you aren't sure which one you need, use arduino-ide_2.2.1_Windows_64bit.exe
-
Wait for the download to finish.
-
Install Arduino IDE from the downloaded file as you would normally do.
Disabling IDE Update Notifications
You will now find that Arduino IDE periodically shows an "Update Available" dialog to offer you an update to the newer version of Arduino IDE. If you don't want to use the latest version of Arduino IDE, you might find these to be annoying.
There are two methods for dealing with these update offers. I'll provide instructions for both of them. You can pick whichever one of the two is most convenient for you.
"SKIP VERSION"
The "Update Available" dialog contains a "SKIP VERSION" button. If you click that button, Arduino IDE will no longer show the dialog for the specific newer version being offered at the time you click the button.
The dialog will appear once again each time Arduino releases a new version of Arduino IDE, so you will need to click the button again after each release. That is slightly inconvenient, but the release cycle is fairly long so I don't think it will be very burdensome.
Disable All Update Offers
It is possible to completely disable the offers of updates in the Arduino IDE advanced settings. The downside is this setting also disables offers of updates for your installed boards platforms and libraries.
- Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
A menu will appear on the editor toolbar:
- Select the "Preferences: Open Settings (UI)" command from the menu.
ⓘ You can scroll down through the list of commands to find it or type the name in the field.
A "Preferences" tab will open in the Arduino IDE main panel. - Type
arduino.checkForUpdates
in the "Search Settings" field of the "Preferences" tab. - Uncheck the box under the "Arduino: Check For Updates" setting.
- Close the Preferences tab by clicking its X icon.
Keeping Your Arduino Dependencies Updated
If you chose this "Disable All Update Offers" method, make sure to periodically check to see if newer versions of your installed boards platforms and libraries are available. You can do this by opening Boards Manager and then setting the "Type" menu to "Updatable", then repeating the process with Library Manager.
It might be possible to recover your code. Arduino IDE copies your sketch to a temporary folder during the compilation process. It is possible the full sketch is still stored in that folder. It would be at this location:
C:\Users\<username>\AppData\Local\Temp\arduino\sketches\<some hash>\<sketch name>\<sketch name>.ino.cpp
(where <username>
is your Windows username, and <some number>
is some characters used to differentiate the folder name, and <sketch name>
is the name of the sketch)
For example:
C:\Users\per\AppData\Local\Temp\arduino\sketches\3A9AF02994178C2791F98B37AF39F346\MySketch\MySketch.ino.cpp
If looking for it with your file manager or command line, note that the AppData
folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
Note that a .cpp
file extension has been appended to the original sketch filename.
You can try doing a search through that folder for the filename of your sketch.
This storage location is temporary in nature. It might be overwritten by Arduino IDE or deleted by your operating system at any time. So if you are going to try to recover the sketch from this location, you should do it as soon as possible and immediately move it to a safe location once you find it. You should also be careful to avoid performing actions that would trigger the loss of the data before attempting the recovery:
- Do not compile or upload your sketch in Arduino IDE.
- Do not close Arduino IDE.
- Do not shut down or restart your computer.
- Do not perform any operations to automatically free up disk space.
If you find the sketch file in the temporary folder, you will notice Arduino IDE made some changes in the code. These changes are minimal so it will be easy to convert the code back to your original sketch. We can help you out with that if you have trouble.
Thanks for the quick help, I know things happen in new releases.
You are welcome. I'm glad if I was able to be of assistance. If you decide to give Arduino IDE 2.3.0 another try and still have the problems, feel free to post on the forum and we'll see if we can identify the cause.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.