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.

[Feature Request]: C/C++ friendly setting IntelliSense and code browsing (VSC-862)

See original GitHub issue

I’m determined to migrate my project from the PlatformIO environment to the ESP-IDF VS Code Extension environment. But when viewing the source code of the text, I encountered an almost “hostile” behavior of C / C ++ IntelliSense and code review. 2022-03-16_07-30-14

2022-03-16_07-47-22 OK. Set "C_Cpp.intelliSenseEngine": "Default" 2022-03-16_07-59-19 These red worms bloomed by the hundreds in almost every file of the working draft. I’m in a state of panic…

There are several ways. The first is to ignore. The project is compiling, what else do you need? I won’t succeed after PlatformIO. There, a red squiggle indicates exactly that this is actually an ERROR. And where is the guarantee that the “fake” squiggle will not turn into a real threat to the project? The second is to manually configure all(!) paths to header files for each one separately and enjoy life, recalling with horror the several days of editing paths to thousands of header files. The third way is to make the C/C++ IntelliSense and code browsing friendly setup automatic. The PlatformIO team did the same. Thanks for attention. I really hope that my emotional reasoning will be clear.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
meltdown03commented, Apr 30, 2022

I use this in the settings.json file: "C_Cpp.intelliSenseEngine": "Default" and this in the c_cpp_properties.json file: "configurationProvider": "ms-vscode.cmake-tools" I get no squiggles and no extra suggestions. You do need the CMake Tools extension installed though. EDIT: Dimming works correctly after one Cmake configuration run (build folder created) You can edit those 2 files in the templates folder where the extension is installed to have the settings set for new projects everytime also.

1reaction
brianignacio5commented, Mar 16, 2022

Did you tried following the C/C++ Configuration documentation ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense in Visual Studio Code
IntelliSense is a general term for various code editing features including: code completion, parameter info, quick info, and member lists. IntelliSense features ......
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 >
Feature Request - Intellisense - Sort by use frequency #37548
For example when I type console. I get the full list of console member functions sorted alphabetically even though 99% of the time...
Read more >
Configure C++ IntelliSense in Visual Studio Code
Learn how to configure C++ IntelliSense in VS Code. This video walks you through the steps to make it happen.
Read more >
Column ordering in intellisense by database specification
Feature request : Column ordering in intellisense by database specification ... It would be nice to allow columns in intellisense to be sorted...
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