Arduino has officially launched its second generation of development environment.
IDE 2.0 has been in beta since the spring of 2021, balancing feedback from across the wide range of Arduino users.
The latest version includes a modern editor and provides a better overall user experience thanks to a responsive interface and faster compilation time. It is based on the Eclipse Theia framework, which is an open source project based on the same architecture as VS Code (language server protocol, extensions, debugger). The front-end is written in TypeScript, while most of the backend is written in Golang.
Over and above the core features, IDE 2.0 benefits from a number of enhancements and additional support. The Serial Monitor and Plotter can be used together, enabling users to have both text and graphs for data output, rather than having to choose between them.
An Arduino-optimized code-completion and code-assist within the language server, helps developers write code quickly and spot errors during typing. The enormous amount of user feedback allowed us to identify the weakest spots such as code assist and completion, serial output, loading and compilation time.
The Serial Plotter is an enhanced tool for tracking different data and variables which are received from an Arduino board that helps understand the data better. It can be used for testing and calibrating sensors, comparing values and other similar scenarios.
Another key feature is the autocomplete during sketch editing. While typing, the editor can suggest the autocompletion of variables and functions according to the code and the libraries being used. When right-clicking on a variable or a function, a contextual menu will provide navigation shortcuts to jump to the line (and file) where they are declared.
For people who work on multiple computers or want to store their Sketches securely in the Cloud, the Remote Sketchbook integration allows sketches in Arduino Cloud and Arduino Web Editor can be edited in IDE 2.0. The Arduino Web Editor also allows coding from a browser in the online IDE with access to all the sketches and libraries from the cloud.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.