ron's blog

Don't use the Arduino IDE

First, a warning - this is not for begineers.

Ever since I got my first Arduino I've being using the Arduino IDE. Although it just works out of the box there are a lot of proper code editor / IDE features that I think are missing. But! A few days ago I found out Visual Studio Code (don't worry - it's not the huge IDE Visual Studio, it is the somewhat lightweight VSCode) has good support for the Arduino IDE! You just open your Arduino project in VSCode and it will prompt you to install the Arduino extension.

Here is what it looks like

VSCode with my sketch open

Also, yes - I do use a light theme.

Making auto-completion work for external Arduino libraries

You have to add some directories to the include path - the last two are the ones I added to my configuration file:

"configurations": [
"name": "Linux",
"includePath": [
"forcedInclude": [
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17"
"version": 4

Contact methods may be found on my main site

Find a mistake? Send the fix or raise an issue with GitHub

© 2019 Ron B