Error: "Configure your Intellisense settings to help find missing headers" (was: Arduino extension required?)

hi @gorsat

unfortunately, that’s not the full log - either you didn’t run the C/C++: Reset Intellisense Database command or you didn’t (re)open your .ino / .cpp file (intellisense runs its scans, etc when a qualified file is first opened).

the full log will show interesting things like:

Custom configuration provider 'particle-vscode-core' registered
Custom configurations received:
  uri: file:///Users/me/Sites/particle/workbench-test-projects/stroby/src/stroby.ino
  config: {
  "defines": [
    "PLATFORM_NAME=photon",
    "PLATFORM_ID=6",
    "PLATFORM_THREADING=1"
  ],
  "includePath": [
    "${workspaceFolder}/**",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/user/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/wiring/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/system/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/services/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/communication/src",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/shared",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/stm32f2xx",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/stm32",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/include",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/security/BESL/host/WICED",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/security/BESL/include",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/security/BESL",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/security/BESL/crypto",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/WWD/include",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/platform/include",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/platform/GCC",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/wiced/security/BESL/supplicant",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/photon/libraries/crypto",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/shared/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/CMSIS/Include",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/CMSIS/Device/ST/Include",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/shared/STM32/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/STM32_StdPeriph_Driver/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/STM32_USB_Device_Driver/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/STM32_USB_Host_Driver/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/platform/MCU/STM32F2xx/STM32_USB_OTG_Driver/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/dynalib/inc",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/user/libraries",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/rt-dynalib/inc"
  ],
  "forcedInclude": [
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/user/inc/Particle.h",
    "/Users/me/.particle/toolchains/deviceOS/1.0.1/firmware-1.0.1/hal/src/stm32f2xx/deepsleep_hal_impl.h"
  ],
  "compilerPath": "/Users/me/.particle/toolchains/gcc-arm/5.3.1/bin/arm-none-eabi-gcc",
  "intelliSenseMode": "gcc-x64",
  "standard": "c++11"
}

amongst lots of other stuff :wink:

also, don’t forget to run the Particle: Audit Environment command and share the non-sensitive parts :+1:

1 Like