Windows: Set "intelliSenseMode" property in c_cpp_properties.json file to "gcc-arm"
See original GitHub issuePlatformIO 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”.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
c_cpp_properties.json reference - Visual Studio Code
It tracks the current version of the c_cpp_properties. json file so that the extension knows what properties and settings should be present and...
Read more >CppProperties.json reference - Microsoft Learn
In this article. Configuration properties; Pre-defined Environments; User-defined environments; Built-in macros; Troubleshoot IntelliSense ...
Read more >Visual Studio Code Intellisense Mode - c++ - Stack Overflow
When editing the .json configuration file, just type "intelliSenseMode": "" and let intelliSense itself help.
Read more >Configure C++ IntelliSense in Visual Studio Code - YouTube
This video walks you through the steps to configure IntelliSense smart code completion for C++ in VS Code. To get started with C/C++...
Read more >Visual Studio Code for C/C++ with ARM Cortex-M: Part 6
This one is about setting up IntelliSense for Cross Development in ... inside the .vscode/c_cpp_properties.json file inside the project.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Duplicate of https://github.com/microsoft/vscode-cpptools/issues/9765
@maxgerhardt, does it mean that we should force VSCode to the
"intelliSenseMode": "gcc-arm"
for ESP products?