You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build the project and look at the file somefile.cppm in particular, I don't see any clangd info:
However, if I do one of the following, the info will come back:
comment import std; in the file types.cppm
rename the file somefile.cppm, for example, to asd.cppm (or to some other name, but there is a chance that clangd will not work with the new name either)
add a new file asd.cppm with the content export module asd; (same here, maybe some other name)
remove --experimental-modules-support option (but then module info won't be available, but at least highlight will work)
Here is what it looks like if I rename somefile.cppm to asd.cppm:
Versions
❯ clangd --version
clangd version 20.1.7
Features: linux
Platform: x86_64-pc-linux-gnu
❯ clang --version
clang version 20.1.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
I also tested it with 21.0.0git version I built today and got the same result.