Nathan Ridge

Results 1149 comments of Nathan Ridge

The second log contains nine "Rebuilding invalidated preamble" messages, the first one doesn't contain any. So I think your analysis is correct, clangd is rebuilding every dependent source file which...

By the way, I have noticed this behaviour too. I'm pretty in sure in a couple of cases it even resulted in clangd thrashing my system. I've gone back to...

> I've gone back to no longer leaving vscode open for multiple days (and/or just closing files when I no longer need them) to mitigate it. Of course, sometimes I...

You can disable an extension for a workspace by right-clicking it in the Extensions view and clicking "Disable (Workspace)".

I did try this locally on Linux, and the setting works fine for me. If you're not able to get it to work, could you share: * What OS you're...

Not having semantic tokens for primitive types is deliberate; since those are keywords, we generally expect them to be covered by client-side highlighting (though there is discussion in https://github.com/clangd/clangd/issues/1115 about...

Putting them into a `.clang-format` file in your home directory (or any ancestor directory of all your projects) should work.

> Put the file .clang-format in HOME dir works. But, is there anyway to set the path of .clang-format file manually on VSCode? I'm not aware of one. #184 and...

I believe in recent trunk they've moved to `.cache/clangd/index`, to allow `.clangd` to be a config file.

Can you share a clangd log?