vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

VSCodium unable to find header files in C

Open soumyaDghosh opened this issue 10 months ago • 3 comments

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

To Reproduce

  1. Write this code in a file and save it. https://github.com/snapcore/snapd-glib/blob/master/examples/snap-glib.c
  2. VSCodium will show errors

Expected behavior VSCodium should be able to look into the header files.

Screenshots

Screenshot from 2024-03-24 23-56-01 Screenshot from 2024-03-24 23-55-23

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.

soumyaDghosh avatar Mar 24 '24 18:03 soumyaDghosh

Facing same issue

anuragvohraec avatar Apr 16 '24 05:04 anuragvohraec

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.

anuragvohraec avatar Apr 16 '24 05:04 anuragvohraec