I use vscode with clangd extension. Clangd works really nice, but when I am editing the file, clangd starts parsing it almost right away, with minimum timeout. As a result it consumes lots of cpu and shows lots of errors for nothing, before I finish typing. Is it possible to specify some kind of timeout, so that clangd waits a couple of seconds before parsing the file that changed?
I looked into clangd --help
and clangd --help-hidden
, but I couldn't find any arguments that could specify that. I also didn't find anything in vscode settings (I mean there are some timeouts and delays that I can specify, but none of them seems to be the one I'm looking for).
My OS is Ubuntu, but I think it shouldn't matter.