platformio/platformio-core

Windows: Set "intelliSenseMode" property in c_cpp_properties.json file to "gcc-arm"

Open

#3.745 geöffnet am 23. Nov. 2020

Auf GitHub ansehen
 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (791 Forks)batch import
help wantedintegration

Repository-Metriken

Stars
 (7.329 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 109T 16h) (5 gemergte PRs in 30 T)

Beschreibung

PlatformIO should set "intelliSenseMode" property in c_cpp_properties.json file to "gcc-arm".

Since PlatformIO uses gcc-arm, the Intellisense should use gcc-arm as well. During startup the IntelliSense mode is changed and following message is displayed:

[11/23/2020, 8:41:51 AM] For C++ source files, IntelliSenseMode was changed from “gcc-x64” to “gcc-arm” based on compiler args and probing compilerPath: “C:/Users/itsme/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc.exe”

Changing the c_cpp_properties.json manually to "gcc-arm" also work temporary as it is auto generated and platformio overwrites and set it back to "gcc-x64".

Contributor Guide