Arduino has announced that the Arduino IDE 2.0 is now stable and can be downloaded. The feedback we've gotten from the vibrant Arduino community since the Beta version's introduction in Spring 2021 has allowed us to concentrate on what matters to the largest possible user base. It has a contemporary editor and offers a better user experience overall because of a responsive interface and a quicker compilation time.
In addition to its fundamental functionality, which we'll discuss in more depth later, IDE 2.0 offers a number of improvements and more support. Users may utilise the Serial Monitor and Plotter together to have two viewports onto their data output. In contrast to earlier times, when you had to pick between text and graphs, you may now have both.
Speed is crucial, along with the updated User Interface that offers a more straightforward experience while using Arduino IDE 2.0. You may create code more rapidly and see problems as you type thanks to a language server feature that is tuned for Arduino. We were able to pinpoint the weaker areas, such as code aid and completion, serial output, loading and compilation time, thanks to the massive quantity of user input.
Paul Stoffregen deserves special recognition for his invaluable comments to the IDE development team and his active work on creating the initial support for cutting-edge third-party platforms like Teensy for IDE 2.0. (currently experimental).
Here are a few of the main features of the new IDE 2.0, in case you haven't tried it yet:
Autocomplete on Sketch Editing
The editor can propose variables and functions as you type them based on your code and the libraries you've used:
A contextual menu that appears when you right-click on a variable or function offers quick links to the line (and file) where they are declared:
Dark Mode
Some of you may have used this while the beta version was available, however, the design team has completely redesigned the Dark Theme to make it more aesthetically pleasing, unified, and consistent.
Never misplace a sketch thanks to Arduino Cloud's secure storage.
The Remote Sketchbook integration is a very practical option for users who use numerous computers or wish to keep their Sketches safely in the Cloud.
For the time being, IDE 2.0 allows you to modify every sketch that is currently stored in Arduino Cloud and Arduino Web Editor.
Simple PC switching allows you to keep working while doing so. Open the Arduino Web Editor and you can code in the online IDE with access to all of your sketches and libraries even if none of your computers has the Arduino IDE 2.0 installed. With Remote Sketchbook, you can safely push your sketches to the Arduino Cloud with just one click, so you won't have to worry about losing them either.
Work offline and sync later by bringing your sketch down from the Cloud, editing it offline, and then clicking "Push" when you are back online. This ensures that all of your sketches are current and available for usage.
Richer Serial Plotter
Richer Serial Plotter, a flexible tool for charting various data and variables received from your Arduino board, is a feature of IDE 2.0. A highly helpful visual tool that will enable you to better comprehend and contrast your data points is the Serial Plotter. It may be applied in situations like sensor testing and calibration, value comparison, and other comparable circumstances.
App updates
With the exception of IDE 2.0, our customers are accustomed to receiving notifications when new boards' support or library updates are available.
The IDE can now automatically update itself whenever a new version is released, eliminating the need to visit the downloads page. Simply click the button to acquire the most recent version.
The new IDE is built on the open-source Eclipse Theia framework, which has the same architecture as VS Code (language server protocol, extensions, debugger). The majority of the backend is written in Golang, while the front end is developed in TypeScript.