Go Down

Topic: Visual Studio Code - Arduino Extension (from Microsoft) (Read 1 time) previous topic - next topic

atuor

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  :smiley-confuse: . anyone an experience on that ?

Thanks  :smiley-lol:

Code: [Select]

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



Go Up