do you know why doesn't Intellisense work in the STM32 VS Code extension?
do you know why doesn't Intellisense work in the STM32 VS Code extension?
5 Replies
@te0
I've encountered this issue before. Intellisense relies on proper configuration files to function correctly. This are a few things you can check to solve this problem:
Check
c_cpp_properties.json
file and make sure it's correctly configured to point to your include directories and define any necessary macros, you can find it in the .vscode
directory of your project.
Make sure your include paths and defines are correctly set in c_cpp_properties.json
.
Lastly ensure that you have the Microsoft C/C++ extension installed in VS Code. This extension provides the necessary tools for Intellisense.Hmm, that's the modified content of that file :
All I had to do was to create a
settings.json
file and add {"C_Cpp.intelliSenseEngine": "Tag Parser"}
The easier the problem the longer it takes to solve it:goodjob:
Good to hear you got it working, Sometimes the simplest fixes can be the most elusive. Switching the IntelliSense engine to "Tag Parser" can definitely help when there are issues with the "Default" engine.
Just a heads up, while "Tag Parser" is faster and might work better in some cases, it may not provide as accurate results as the default engine. If you encounter any limitations, you might want to switch back and try fine-tuning the
c_cpp_properties.json
again.