vscodium
vscodium copied to clipboard
VSCodium unable to find header files in C
Describe the bug
I have added the necessary folders in includepaths, but still, vscodium is not able to find the header. Even though, vscode is showing it properly.
Please confirm that this problem is VSCodium-specific
- [x] This bug doesn't happen if I use Microsoft's Visual Studio Code. It only happens in VSCodium.
Please confirm that the issue/resolution isn't already documented
- [x] I checked the Docs page and the Troubleshooting page and my issue is not mentioned there.
To Reproduce
- Write this code in a file and save it. https://github.com/snapcore/snapd-glib/blob/master/examples/snap-glib.c
- VSCodium will show errors
Expected behavior VSCodium should be able to look into the header files.
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu 24.04
- Architecture: x64
- Version: 1.86.2
- App Manager: Snap
- Sandboxed: Snap
Additional context
I found that there is an extension for C/C++ that I can't install in vscodium. The id of that extension is ms-vscode.cpptools
. Probably this extension can fix everything.
Facing same issue
Ok After installing CMake Tools
from ms-vscode
solved issue for me. I had to relaunch codium
a couple of times after installation as per popups I received. But it worked.