Nathan Ridge

Results 1499 comments of Nathan Ridge

See also a similar bug report at https://github.com/llvm/llvm-project/issues/130280.

Needs a reproducing code example for further diagnosis.

Seems to be working for me in a quick test with the code from the issue description. Can you post [clangd logs](https://clangd.llvm.org/troubleshooting#gathering-logs)?

You may need to point clangd to the right include directory using https://clangd.llvm.org/config.html#add.

> Clang fails to compile cuda code on toolkit 13, maybe this has to do with it. Yes, since clangd is built on top of the clang libraries, if the...

The place in the code where the preamble region is computed is [here](https://searchfox.org/llvm/rev/a293573c4e3e43f9f6279f075c3262ea5dc17086/clang/lib/Lex/Lexer.cpp#637). Taking a quick look at the implementation, it starts at the top of the file and keeps...

For reference, https://github.com/clangd/clangd/issues/1639 is a previous issue about what should belong in the preamble.

If you're asking which versions of the clangd server **can** be used with a given vscode-clangd version, the answer is all of them. Since the communication happens using the standard...

This has long been on my list of "things I'd like my ideal IDE to be able to do" :) I've yet to use an IDE that could do this.

In the request, the `position` is: ``` "position": { "character": 8, "line": 2 }, ``` This is the cursor position before the newline was entered. VSCode sends: ``` "position": {...