I've been using WSL2 with the C/C Extension on Visual Studio Code for quite a while now, but recently, it stopped working. Whenever I try to run a command, such as Edit Configurations, this error pops up:
Text version:
Command 'C/C : Edit Configurations (UI)' resulted in an error (command 'C_Cpp.ConfigurationEditUI' not found)
Note that this happens for every command from that extension, and other commands work perfectly fine (including from other extensions). My IntelliSense has also stopped working properly (nothing appears when I click CTRL SPACE, etc).
I tried reinstalling the extension multiple times, including going to previous versions, deleting the folder, restarting my computer, etc., but nothing ever helped. There seem to be no errors in the console either.
This happened right after I installed the
side note: In my opinion, Clangd is faster than intellisense at syntax highlighting which was the main incentive for me to install clangd in the first place. So if that is ever an issue for you it may be worth diving in.