[Feature Request]: C/C++ friendly setting IntelliSense and code browsing (VSC-862)
See original GitHub issueI’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.
OK. Set "C_Cpp.intelliSenseEngine": "Default"
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:
- Created 2 years ago
- Comments:15 (4 by maintainers)
Top GitHub Comments
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 thetemplates
folder where the extension is installed to have the settings set for new projects everytime also.Did you tried following the C/C++ Configuration documentation ?