Visual Studio Code is the cross-platform, open sourced advanced code editor by Microsoft.
Recently, after being interested in IoT and hardware, Microsoft is now searching for tools to make building IoT devices easier. It added an Arduino extension to its Visual Studio Code to enable a better eco-system for IoT developers using Arduino. By making some research about some challenges usually developers face, Microsoft found out that giving more access to new features and capabilities will be a pain killer for IoT enthusiasts. Later on, Microsoft had opened the source of the Arduino extension and placed it on GitHub.
Our Arduino extension fully embraces the Arduino developer community and is almost fully compatible and consistent with the official Arduino IDE. On top of it, we added the most sought-after features, such as IntelliSense, Auto code completion, and on-device debugging for supported boards.
Core functionalities of Arduino extension
- IntelliSense and syntax highlighting for Arduino sketches
- Built-in board and library manager
- Verify and upload your sketches in Visual Studio Code
- Built-in example list
- Snippets for sketches
- Built-in serial monitor
- Automatic Arduino project scaffolding
- Command Palette (F1) integration of frequently used commands (e.g. Verify, Upload…)
- Integrated Arduino Debugging (New)
Of course, you can download this extension from Visual Studio Code Marketplace at: https://aka.ms/arduino.
Fortunately, Microsoft had open sourced this project on GitHub under MIT License. Thus, if you are developer, you are more than welcome to participate in developing this extension and here how you can help:
- File a bug, submit a feature request, you can find the current bug/issue list and feature requests at GitHub’s issue tracker.
- Join developers and users’ discussions at chat on gitter.
- Fork the repository, fix bugs and send pull requests
- Fork the repository, add your new cool features and send pull requests.
Finally, more detailed instructions are available at the Visual Studio Code Repo at GitHub.