Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    ${workspaceFolder} is your current sketch folder, so the path for the library directory is not correct. The "includePath" path should be D:/Alex/Hobbies/Electronic/Learning Arduino/Source/lirbaries/**. Commented Jun 8 at 0:46
  • 1
    My VS Code project contains the Source folder (where I store the skectches) so I believe it is correct how I used it. Anyway, I added the full path too: "${workspaceFolder}/Source/libraries/Adafruit_GFX_Library" AND "d:/Alex/Hobbies/Electronic/Learning Arduino/Source/libraries/Adafruit_GFX_Library" but still, the intellisense is OK, but not the build (Adafruit_GFX.h not found). So, I believe the build is NOT looking at the c_cpp_properties.json file at all. I'm wondering if the build is more "picky" and doesn't like the "Arduino Learning" path with a space... Commented Jun 8 at 13:07
  • 1
    Replaced Arduino Community extension with PlatformIO IDE extension and all fine. Commented Jun 8 at 20:55
  • 1
    The ** after the library folder tell the VSCode to looks recursively within the libraries folder. You are missing that. Anyway, if you can use PlatformIO, then use it as Microsoft has deprecated the VSCode Arduino Extensions and now it is managed by some volunteers as a Community fork. folks. Commented Jun 9 at 9:40