Now, Write Arduino Program in Visual Studio Code

Recently, we released Arduino Extension for Visual Studio Code. It brings modern code editing experience to the beloved Arduino platform. Here's what's inside:

  • IntelliSense and syntax highlighting for Arduino sketches
  • Verify and upload your sketches in Visual Studio Code
  • Built-in board and library manager
  • Built-in example list
  • Built-in serial monitor
  • Snippets for sketches
  • Automatic Arduino project scaffolding
  • Command Palette (F1) integration of frequently used commands (e.g. Verify, Upload...)

Technically, the extension was built on top of the Arduino IDE, so you get exactly the same build results of using the original IDE.

The extension is now in preview stage and we are eager to hear from you. We'll be answering questions in this gitter chat room.

Comments (4)

  1. Thomas Thomassen says:

    Been trying to get this working; Xubuntu, Arduino 1.8.2. Got the CPP extension and the Arduino extension installed. Loaded the AnalogReadSerial.ino example and getting intellisense errors about undefined symbols. (Serial, analogRead etc- stuff from the arduino lib.)

    Is additional configuration needed? Or is it supposed to work out of the box without any further modifications? Would this indicate that my installation is busted?

    1. Thomas Thomassen says:

      Never mind. I just realized I’d not picked a board, and that was causing it.

      1. Leonardo Daga says:

        How and where can I select the board?
        I’m new to VSC.

        1. Leonardo Daga says:

          Never mind, I am totally new to VSC. I’ve found the command to select the board.

Skip to main content