question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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”.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ivankravetscommented, Aug 21, 2022
0reactions
ivankravetscommented, Aug 29, 2022

@maxgerhardt, does it mean that we should force VSCode to the "intelliSenseMode": "gcc-arm" for ESP products?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found