Nathan Ridge

Results 83 issues of Nathan Ridge

Given the following code: ```c++ struct A { void f(this A self, int arg); }; int main() { A a; a. } ``` if you invoke completion after `a.` and...

In the following code: ```c++ #include void test() { std::vector s = {1}; } ``` it would be nice if after `std::vector` clangd showed `` as an inlay hint. (See...

enhancement

It would be nice to have some unit test coverage for our middleware such as [`provideCompletionItem`](https://github.com/clangd/vscode-clangd/blob/d095b50ec4878c766e3e6a924edab2e30fcffee2/src/clangd-context.ts#L129) and [`provideWorkspaceSymbols`](https://github.com/clangd/vscode-clangd/blob/d095b50ec4878c766e3e6a924edab2e30fcffee2/src/clangd-context.ts#L177). Unlike [`clangd.restart`](https://github.com/clangd/vscode-clangd/issues/602), I think this code would be straightforward to isolate for...

I tried to create a 21.1.7 release and the Mac build failed with: > The macOS-13 based runner images are now retired. For more details, see https://github.com/actions/runner-images/issues/13046.

release-management

In the following code: ```c++ struct Point { int x; int y; }; int main() { Point p1{1, 2}; // brace syntax Point p2(1, 2); // parens syntax } ```...

enhancement
c++20

Clangd has a parameter hint forwarding feature where e.g. in the following code: ```c++ #include struct Point { Point(int x, int y); int x; int y; }; int main() {...

enhancement
c++20

The last few weekly snapshots have not been automatically published due to Mac builds failing (I've published some of them manually with the Mac release assets missing). [Here](https://github.com/clangd/clangd/actions/runs/18264714393) is the...

release-management

In the following code: ```c++ const unsigned WALDO = 64; struct alignas(WALDO) foo { }; ``` go-to-definition on the `WALDO` token in `alignas(WALDO)` targets the type `foo` rather than the...

bug

Given the following two files: `test.hpp`: ``` void bar(int); template void foo(T t) { bar(t); } ``` `test.cpp`: ``` #include "main.hpp" struct S {}; int main() { foo(S()); } ```...

For example, `foo` in `module foo;` or `import foo;`.

enhancement