VSCodium / vscodium

binary releases of VS Code without MS branding/telemetry/licensing
https://vscodium.com
MIT License
25.05k stars 1.07k forks source link

VSCodium unable to find header files in C #1834

Open soumyaDghosh opened 6 months ago

soumyaDghosh commented 6 months ago

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

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):

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.

anuragvohraec commented 5 months ago

Facing same issue

anuragvohraec commented 5 months ago

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.