I’ve suddenly lost code completion. It seems to be for all my workspaces etc. The Outline on the left still shows all the variables and functions, but when I start typing and hit Control - Space, it never finds the variable/function etc.
I’m using PIO in VSCode. Restarted VSCode, restarted PC, used the intellisense rebuild, clean project. Etc, checked for shortcuts that I accidently might have used to disable it… No luck with any of it.
I’m hoping to not do a full re-install.
Any suggestions on what to do?
Try to reduce the problem to a single workspace first. Then try to rebuild the IntelliSense index and check that the
.vscode/c_cpp_properties.json file is ok with valid paths to the compiler and framework files. Also check that you’re only running the Microsoft provided C/C++ plugin, not a third party one.
What’s the VSCode and Python version?
It looks like the issue was with C/C++ extension. There was n update yesterday that resolve the issue. I suspect there might have been wider issue that was resolved by that update