Visual Studio Code - Arduino Extension (from Microsoft)

Hi All,

I'm trying out VScode (1.18.1) with Microsoft 0.2.10 Extension under Linux for Arduino projects (Arduino IDE 1.8.3).

The path to the Arduino IDE is defined and found, however I can't find out how to add the path for libraries

I used an example 'KeyboardMessage.ino' which has an #include "Keyboard.h"

I get an error Message saying :

#include errors detected. Please update your includePath. IntelliSense features for this translation unit (/home/atuor/Arduino/generated_examples/KeyboardMessage_1/KeyboardMessage.ino) will be provided by the Tag Parser.

I tried to edit 'c_cpp_properties.json' (below) as mentioned in a hint message, but it did not work :confused: . anyone an experience on that ?

Thanks :grinning:

{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "/Apps/arduino_cc/arduino-1.8.3/libraries/Keyboard/src/"
            ],
            "browse": {
                "limitSymbolsToIncludedHeaders": false,
                "path": []
            },
            "intelliSenseMode": "clang-x64"
        }
    ],
    "version": 3
}