Nathan Ridge

Results 1149 comments of Nathan Ridge

Thanks, I can reproduce the issue in the linked project. I think there are two issues here: 1. The two error notifications vscode shows, "Cannot read property 'kind' of null"...

> 2. Clangd's call hierarchy implementation is missing some Objective-C support. More specifically, clangd expects the decl under the cursor to return true for `Decl::isFunctionOrFunctionTemplate()`. In this case, it's an...

> If prepareCallHierarchy is called on a token that it supports, then it should always return at least one item in the list which would be the token itself. Is...

Some discussion about that in https://github.com/clangd/clangd/issues/539

The Language Server Protocol currently only accepts a single position as input for the go-to-definition request, not a range. Assuming you've selected the range `BandList` in the forward direction, such...

> I don't think MS is likely to fix this. I'm all for making the clangd-only fix you describe, but I'm also curious why you don't think this will be...

The [compile_commands.json spec](https://clang.llvm.org/docs/JSONCompilationDatabase.html) says: > All paths specified in the `command` or `file` fields must be either absolute or relative to `directory`. Were you seeing clangd impose a stricter requirement...

Ok, I see. `compile_commands.json` is typically generated by a tool (such as CMake or [Bear](https://github.com/rizsotto/Bear)), so following the spec is generally the responsibility of the tool author. But it is...

> When the real parameter of `a` is a complicated expression and I need to use code completion, I have to press `Esc` and exit the placeholder mode. Afterwards I...

Depends on https://github.com/clangd/clangd/issues/1261