microsoft / vscode-arduino

Visual Studio Code extension for Arduino
Other
1.16k stars 214 forks source link

IntelliSense stopped working #1689

Open daniel-maiorano opened 11 months ago

daniel-maiorano commented 11 months ago

Hello:

I'm not sure it is related, but it stopped working after last VSCode update

Here are the details of VSCode

Version: 1.84.0 Commit: d037ac076cee195194f93ce6fe2bdfe2969cc82d Date: 2023-11-01T11:30:19.406Z Electron: 25.9.2 ElectronBuildId: 24603566 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin x64 23.0.0

Also, I always get this message when opening a sketch folder:

[04/11/2023, 09:32:24] For C++ source files, IntelliSenseMode was changed from "macos-gcc-x64" to "macos-gcc-arm" based on compiler args and querying compilerPath: "/Users/daniel/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++" [04/11/2023, 09:32:24] For C source files, IntelliSenseMode was changed from "macos-gcc-x64" to "macos-gcc-arm" based on compiler args and querying compilerPath: "/Users/daniel/Library/Arduino15/packages/Seeeduino/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-g++"

However, on the c_cpp_properties.json file, the IntelliSenseMode is as follow (whatever I set on this parameter, it goes back to gcc-x64)

      ...
        ],
        "intelliSenseMode": "gcc-x64",
        "includePath": [
            "/Users/daniel/Library/Arduino15/....

Any help would be appreciated

daniel-maiorano commented 11 months ago

By changing the language-mode to "C++" , it starts working

image

Maybe I touched this unintentionally... this leads me to the question: what the "arduino-output" langauge mode is for?