Skip to content
⌘K

clangd

clangd language server.

health 37contrib 652.3k

Overview & architecture

C++ standard
–
Build systems
–
License
Apache-2.0
Languages
Shell
Last release
23.1.0 · Sep 2, 2026

Repository activity

snapshot Nov 22, 2026
GitHub stars
latest
2.3k▲ 28
Merged PRs (30d)
latest
0
Contributors (90d)
latest
1
Issue first response p50
–
No snapshots yet.
861 open issues3 open PRs10 releases / year0 commits (30d)11 good first issues29 help wanted

Recent notable activity

  • Blog
    GSoC 2026: Improving HLSL Support in clangd

    GSoC 2026: Improving HLSL Support in clangd HLSL (High-Level Shading Language) is a C++-like language used for GPU shader programming. Clang already parses HLSL and represents many of its constructs in the AST. clangd, however, reuses its C/C++ infrastructure to provide IDE…

    LLVM FoundationLLVM Project Blog
  • Release
    clangd 23.1.0

    Stable clangd 23.1.0 release Built from llvm/llvm-project@ea7d852a70e8bdfaf601d6626a760f9771b2c4b4.

    23.1.0
  • Release
    clangd 22.1.6

    Stable clangd 22.1.6 release Built from llvm/llvm-project@fc4aad7b5db3fff421df9a9637605b9ca5667881.

    22.1.6

Stories

DiscussionFor you

GSoC 2026: Improving HLSL Support in clangd

GSoC 2026: Improving HLSL Support in clangd HLSL (High-Level Shading Language) is a C++-like language used for GPU shader programming. Clang already parses HLSL and represents many of its constructs in the AST. clangd, however, reuses its C/C++ infrastructure to provide IDE…

Why it matters: Mentions tracked project clangd. clangd is in Language & Toolchain (one of your focus areas).

ReleaseFor you

clangd 23.1.0 released

Stable clangd 23.1.0 release Built from llvm/llvm-project@ea7d852a70e8bdfaf601d6626a760f9771b2c4b4.

Why it matters: clangd is in Language & Toolchain (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.
30 more candidates below the publish threshold
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Important features still missing for the module support of clangd

I'm trying to use clangd (in neovim) for a project using C++ 20 modules. The version of clangd is the latest snapshot (20251214). For now, following critical features are missing (all features are listed here) inside the module: Project-wide renaming. Renaming names of functions or classes is very important for the code refactoring. Following error message is printed out when doing the renaming in a module: > Error on prepareRename: Cannot rename symbol: symbol may be used in other files (not eligible for indexing) Find references. It's also not possible to find all references in the project…

46score
cpp20storage
  • Demand 25% × 0.49 = 124 reactions, 14 comments
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 5d ago
Good first issuecandidateMatches your profileStatic Analysis & Refactoring

Customize background index storage location

Nikita Alekseev sent to clangd-dev: However there are some usability features, one of which is that the background index is being put in the root of my project. This is inconvenient and I was wondering if it is possible to change the location of the index directory. I've looked through available options and did not find anything.

45score
storage
  • Demand 25% × 0.70 = 1716 reactions, 12 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; filed by a maintainer
  • Feasibility 20% × 0.55 = 11newcomer label; clear scope; project onboarding 25%
Evidence
  • #184 Customize background index storage locationissue
    Nikita Alekseev sent to clangd-dev: However there are some usability features, one of which is that the background index is being put in the root of my project. This is inconvenient and I was wondering if it is possible to change the location of the index directory. I've looked…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Are you planning to ship releases for ARM (armv7l and arm64)

Are you planning to provide releases for armv7l (aka. armhf) and arm64 (aka. aarch64) for Linux? According to the LLVM download page, the 10.0.1 release has pre-built binaries for Linux ARM. Thank you!

45score
armlinux
  • Demand 25% × 0.69 = 1714 reactions, 20 comments
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.20 = 4clear scope; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Modules support

It would be nice if some of {C++20 modules, clang header modules} worked in clangd. Essentially no configurations of this work today: occasionally things may happen to work but there are many reported problems and crashes. These are not just bugs that can be fixed, a design and new infrastructure is needed. Because clang's module functionality can be enabled by setting driver flags, it is possible/easy for people to end up in this broken and unsupportable state, and wasting (their + our) time debugging it. We should consider failing early and explicitly instead. AFAIK nobody has…

42score
cpp20
  • Demand 25% × 0.75 = 1967 reactions, 88 comments
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; filed by a maintainer
  • Feasibility 20% × 0.00 = 0clear scope; project onboarding 25%; long thread (88 comments) lowers it
Evidence
  • #1293 Modules supportissue
    It would be nice if some of {C++20 modules, clang header modules} worked in clangd. Essentially no configurations of this work today: occasionally things may happen to work but there are many reported problems and crashes. These are not just bugs that can be fixed, a design and…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
Help wantedcandidateMatches your profileStatic Analysis & Refactoring

Support non-self-contained files

Currently clangd doesn't work with non-self-contained files, even if people have a way to build their projects with those files, for example by merging some/all of non-self-contained files into a single TU and building that file.

42score
docs
  • Demand 25% × 0.75 = 1968 reactions, 53 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; filed by a maintainer
  • Feasibility 20% × 0.30 = 6newcomer label; clear scope; project onboarding 25%; long thread (53 comments) lowers it
Evidence
  • #45 Support non-self-contained filesissue
    Currently clangd doesn't work with non-self-contained files, even if people have a way to build their projects with those files, for example by merging some/all of non-self-contained files into a single TU and building that file.
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelleduntouchedstaleMatches your profileStatic Analysis & Refactoring

Move folding range `startLine` to the declaration line for function/class bodies

Discussion: #2664 Summary For function and class body folding ranges, set startLine to the line containing the declaration (i.e. the name), rather than the line containing the opening {. Current behavior Given a function with a multi-line signature: cpp void foo () { // ... } clangd reports the folding range starting at the line of {. When the editor collapses it, only that line is visible — every identifier needed to recognize the entity is hidden: Multi-line signatures are common in real C++ code (trailing return types, long template parameter lists, attributes, requires-clauses, noexcept…

38score
cpp20templates
  • Demand 25% × 0.20 = 52 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelledstaleMatches your profileStatic Analysis & Refactoring

False positive `-Wempty-translation-unit` warning

clangd reports an -Wempty-translation-unit warning in this C code, c int main() {} …under the following configuration. yaml CompileFlags: Add: -Wempty-translation-unit I think this is a bug in clangd because clang -Wempty-translation-unit on the same code doesn't print any warning. Logs text I[19:38:40.000] clangd version 21.0.0git ( a2ca2f3f10002da61e9860d0ce11e0272482baba) I[19:38:40.002] Features: mac+grpc+xpc I[19:38:40.002] PID: 485 I[19:38:40.002] Working directory: /Users/ud2/repro I[19:38:40.002] argv[0]: /Users/ud2/Downloads/clangd_snapshot_20250401/bin/clangd I[19:38:40.002]…

35score
networking
  • Demand 25% × 0.42 = 114 reactions, 5 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.35 = 7has reproduction steps; has code; project onboarding 25%
Evidence
  • #2358 False positive `-Wempty-translation-unit` warningissue
    clangd reports an -Wempty-translation-unit warning in this C code, c int main() {} …under the following configuration. yaml CompileFlags: Add: -Wempty-translation-unit I think this is a bug in clangd because clang -Wempty-translation-unit on the same code doesn't print any…
Suggested first step

Reproduce the bug on the latest main branch of clangd, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated Oct 9, 2026
Good first issueuntouchedcandidateMatches your profileStatic Analysis & Refactoring

signature help triggers unexpectedly

cpp struct MyVec { template MyVec(T); }; void foo() { MyVec neighbors = { { 3 }, }; // , ^triggering signature help by pressing , here yields signature help for MyVec. } Looks like there are two issues here: one around not closing the scope of constructor call when initializer lists are involved another one for running semantic completion at all when the trigger is inside a comment.

34score
templates
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; filed by a maintainer
  • Feasibility 20% × 0.85 = 17newcomer label; clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #2426 signature help triggers unexpectedlyissue
    cpp struct MyVec { template MyVec(T); }; void foo() { MyVec neighbors = { { 3 }, }; // , ^triggering signature help by pressing , here yields signature help for MyVec. } Looks like there are two issues here: one around not closing the scope of constructor call when initializer…
Suggested first step

Reproduce the bug on the latest main branch of clangd, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 2d ago
Help wantedcandidateMatches your profileStatic Analysis & Refactoring

Auto-continue block comments (draw aligned stars)

It would be really nice if pressing Enter auto-continued comments. Examples (with ^ representing the cursor position when pressing Enter): // A comment^ to: // A comment // ^ and /* A comment^ */ to: /* A comment * ^ */ or something similar. It's not entirely clear whether this should be the job of the server or the client. I notice there is a "textDocument/onTypeFormatting" request, perhaps that would be a good fit?

34score
docs
  • Demand 25% × 0.00 = 00 reactions, 20 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.85 = 17newcomer label; clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #174 Auto-continue block comments (draw aligned stars)issue
    It would be really nice if pressing Enter auto-continued comments. Examples (with ^ representing the cursor position when pressing Enter): // A comment^ to: // A comment // ^ and /* A comment^ */ to: /* A comment * ^ */ or something similar. It's not entirely clear whether this…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
Good first issueuntouchedcandidateMatches your profileStatic Analysis & Refactoring

Tweak OverridePureVirtuals does not append the correct namespaces

Found on clangd 23.1.0. Take following snippet: namespace A { class Something; class AnotherThing { virtual void doSomething(Something &) = 0; }; } namespace B { class YetAnotherThing : A::AnotherThing { }; } On the symbol YetAnotherThing, you can execute the tweak OverridePureVirtuals (clang-tools-extra/clangd/refactor/tweaks/OverridePureVirtuals.cpp) The result is the following: namespace A { class Something; class AnotherThing { virtual void doSomething(Something &) = 0; }; } namespace B { class YetAnotherThing : A::AnotherThing { private: void doSomething(Something &) override { // TODO:…

34score
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5no maintainer comment yet; labelled (triaged)
  • Feasibility 20% × 0.85 = 17newcomer label; clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of clangd, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated Oct 7, 2026
LabelledstaleMatches your profileStatic Analysis & Refactoring

Rich hover documentation for GTK-Doc, kernel-doc, and GObject Introspection

clangd's hover currently only understands Doxygen-style doc comments. C projects in the GLib/GTK ecosystem use GTK-Doc conventions, the Linux kernel uses kernel-doc conventions, and many GLib/GTK headers ship no inline comments at all — their documentation lives in external GIR XML files. Would it be desirable for clangd to support: gtk-doc comments (the format is not well specified, but there are countless examples) kernel-doc comments ( GIR documentation fallback When no doc comment is found in AST or index, add a lookup from GIR XML system repository. Automatic comment format detection The…

33score
docslinuxstorage
  • Demand 25% × 0.00 = 00 reactions, 9 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs linux, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Read the code the issue refers to, draft the documentation change, and open a small PR that references the issue.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

jump kernel module config macro

当我在内核工程中使用下面这段代码的时候,CONFIG_CA_DIAGNOSE 是使能在 defconfig中的一个配置,最终会生成一个宏,在autoconf.h中。 c #if IS_ENABLED(CONFIG_CA_DIAGNOSE) ret = serdes_register_diag(serdes); if (ret) { loge(serdes, "register diag error: %d", ret); } #endif 这里存在一个问题。如果模块是CONFIG_CA_DIAGNOSE=m 而非 CONFIG_CA_DIAGNOSE=y,那么编译时使用 obj-m 配置去配置,生成的autoconf.h 文件,宏定义是 CONFIG_CA_DIAGNOSE_MODULE 。这会导致上面的这段代码,ctrl + 鼠标左键去跳转到这个宏定义时,不会有任何反应。当 CONFIG_CA_DIAGNOSE=y 时,则能正常跳转。 对于C语言的规则来说,这不是一个真正的问题。但是我认为这是一个可以针对内核源码进行优化的地方。上面这段代码的着色显示是正常的,因为IS_ENABLED 会去同时判断 CONFIG_CA_DIAGNOSE 和 CONFIG_CA_DIAGNOSE_MODULE 是否使能。 针对这个问题的优化,是否合理?如果合理的话,能否加入到未来功能开发清单中呢

33score
cpp20
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.20 = 5no maintainer comment yet; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #2704 jump kernel module config macroissue
    当我在内核工程中使用下面这段代码的时候,CONFIG_CA_DIAGNOSE 是使能在 defconfig中的一个配置,最终会生成一个宏,在autoconf.h中。 c #if IS_ENABLED(CONFIG_CA_DIAGNOSE) ret = serdes_register_diag(serdes); if (ret) { loge(serdes, "register diag error: %d", ret); } #endif 这里存在一个问题。如果模块是CONFIG_CA_DIAGNOSE=m 而非…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 5, 2026
Help wanteduntouchedcandidateMatches your profileStatic Analysis & Refactoring

llvm-header-guard check is not triggered in clangd

The check is expected to trigger when we open a .h file without any header guard. The reason is that we only replay the #include events in clangd. To make the check work, we should replay other macro-related events (macro definition, ifndef, endif).

33score
  • Demand 25% × 0.20 = 51 reactions, 2 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.55 = 11newcomer label; clear scope; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Auto-completion in `\N` i.e. universal-character-name

It would be nice if you could get auto-completion for *universal-character-name*s. For example, when typing: cpp U'\N{NO-BR}' ... it would be nice to complete this as cpp U'\N{NO-BREAK SPACE}' The basic infrastructure already seems to be there: This function is based on edit distance, which should give similar results to the Insert Unicode VSCode extension (although that one seems to use substring matches, not edit distance): I originally wanted to suggest something that's based on prefix matches only, but for code point names, it does make more sense to provide auto-completion based on…

33score
docs
  • Demand 25% × 0.24 = 61 reactions, 4 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #2668 Auto-completion in `\N` i.e. universal-character-nameissue
    It would be nice if you could get auto-completion for *universal-character-name*s. For example, when typing: cpp U'\N{NO-BR}' ... it would be nice to complete this as cpp U'\N{NO-BREAK SPACE}' The basic infrastructure already seems to be there: This function is based on edit…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelledstaleMatches your profileStatic Analysis & Refactoring

Show the macro name when calling `#endif` to end an `#ifdef` macro

It's quite common for C/++ codebases to add the name of the macro they are checking as defined by putting a comment next to an #endif, e.g. c #ifdef DEFINED_ITEM /* ... */ #endif /* DEFINED_ITEM */ I believe showing a hint like what is currently done for function arguments, e.g. c char* chars = /* ... */; size_t size = strlen(chars); /* <- shows in the IDE as strlen(s: chars); */ could also be applied to macros, like: c #ifdef DEFINED_ITEM /* ... */ #endif /* shows "DEFINED_ITEM" after endif */ This would be useful for readability, and removes the need to update comments if a define gets…

33score
  • Demand 25% × 0.23 = 61 reactions, 3 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 15d ago
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Expand Clangd Configuration to let If match a compiler

Based on a discussion, I would like to request an extension to the if configuration based on looking at the compiler. This would also provide functionality in lieu of this issue being resolved, This could look something like the following: If: CompilerMatch: .*qcc # would pattern match argv[0] CompileFlags: Add: ['-D_QCC_FLAG1', '-D_QCC_FLAG2'] ---

33score
  • Demand 25% × 0.23 = 61 reactions, 3 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #1155 Expand Clangd Configuration to let If match a compilerissue
    Based on a discussion, I would like to request an extension to the if configuration based on looking at the compiler. This would also provide functionality in lieu of this issue being resolved, This could look something like the following: If: CompilerMatch: .*qcc # would…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20d ago
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Does clangd have plans to support reflection?

GNU/GCC plans to support reflection in version 16. I understand this to be an incremental feature that doesn't break the existing implementation. Does clangd have any plans in this regard?

32score
  • Demand 25% × 0.58 = 1413 reactions, 3 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.05 = 1project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 16, 2026
LabelleduntouchedstaleMatches your profileStatic Analysis & Refactoring

Support LSP 3.17 `collapsedText` for folding ranges

Discussion: #2664 Summary Emit the optional collapsedText field on folding ranges so capable clients can show a meaningful summary in place of the folded region — e.g. foo(…) { … } for a function body, class Foo { … } for a class. Motivation collapsedText was added to LSP in 3.17 (microsoft/language-server-protocol#1426) precisely to let servers control what users see when a region is folded. VS Code and several other clients support it. For C++ this is especially valuable because folded regions frequently span constructs whose identity is not obvious from any single visible line — overloaded…

32score
cpp20
  • Demand 25% × 0.20 = 52 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.20 = 4clear scope; project onboarding 25%
Evidence
  • #2667 Support LSP 3.17 `collapsedText` for folding rangesissue
    Discussion: #2664 Summary Emit the optional collapsedText field on folding ranges so capable clients can show a meaningful summary in place of the folded region — e.g. foo(…) { … } for a function body, class Foo { … } for a class. Motivation collapsedText was added to LSP in…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelledcandidateMatches your profileStatic Analysis & Refactoring

Avoid marking headers as links in VSCode

Hi, The clangd adds underscores to all includes in VSCode (see the screenshots below). I personally find this rather distracting and have been thinking of adding an option to disable this behavior. VSCode adds underlines based on the documentLink responses, so my initial thought is to avoid returning the results altogether. I see a few options to do this: implement in clangd C++ code, add an option to the clangd binary (a command-line flag?) pros: probably the easiest to implement, can easily affect only includes if other kinds of links get added later, can be used in other editors if they…

32score
  • Demand 25% × 0.45 = 113 reactions, 14 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.20 = 4clear scope; project onboarding 25%
Evidence
  • #630 Avoid marking headers as links in VSCodeissue
    Hi, The clangd adds underscores to all includes in VSCode (see the screenshots below). I personally find this rather distracting and have been thinking of adding an option to disable this behavior. VSCode adds underlines based on the documentLink responses, so my initial…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 24d ago
LabelledstaleMatches your profileStatic Analysis & Refactoring

Support "extract function" refactoring in C files

Hope the Clangd can support extracting the code fragment to a new function for C language.

29score
  • Demand 25% × 0.45 = 113 reactions, 26 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.05 = 1project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 22, 2026
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

Allow latex rendering of doxygen math on hover

As described in clangd/vscode-clangd#965, it would be a nice feature if clangd allowed LaTeX rendering of math in doxygen comments when hovering in VSCode. Since this apparently also requires changes to the server itself to treat math blocks as non-code blocks, I am opening this as a separate issue here.

29score
  • Demand 25% × 0.32 = 85 reactions, 0 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.20 = 4clear scope; project onboarding 25%
Evidence
  • #2669 Allow latex rendering of doxygen math on hoverissue
    As described in clangd/vscode-clangd#965, it would be a nice feature if clangd allowed LaTeX rendering of math in doxygen comments when hovering in VSCode. Since this apparently also requires changes to the server itself to treat math blocks as non-code blocks, I am opening…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelledstaleMatches your profileStatic Analysis & Refactoring

Slow AST builds in code involving large array (e.g. 1000000 elements)

I am an algorithmic competition participant, and I have a VSCode workspace where I have organized my code from various online judging systems into folders. The directory tree looks roughly like this: OI (Workspace Root) Codeforces - CF001A.cpp - CF002B.cpp ATCoder - abc001_a.cpp - abc002_b.cpp luogu - P1001.cpp - P1002.cpp Clearly, my problem files are independent of each other, and I don't need or want to include the contents of other files in one file. I only need to include system header files like iostream and vector. However, when my problem repository folder reaches a certain size, I…

28score
performance
  • Demand 25% × 0.00 = 00 reactions, 35 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18clangd is in Language & Toolchain (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.25 = 5clear scope; has reproduction steps; has code; project onboarding 25%; long thread (35 comments) lowers it
Evidence
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 19d ago
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

code action : extract highlighted text to method / function

that would be nice if we could have a code action that allows to quickly refactor / clean code by extracting a portion of code to a member function or simple function. for example : Given : image the code action would extract the highlighted statement inside the condition and extract something similar (or close) to this image

28score
docs
  • Demand 25% × 0.28 = 72 reactions, 2 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.20 = 4clear scope; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

Inlay hints: show source field names for structured bindings

For structured bindings that decompose an aggregate, inlay hints show each binding's type. Proposal: also show which field each binding comes from, since the mapping is purely positional. Example setup: cpp struct Person { std::string name; int age; std::string city; }; auto [n, years, city] = p; Current: cpp auto [n: std::string, years: int, city: std::string] = p; Proposed: cpp auto [n=.name: std::string, years=.age: int, city: std::string] = p; The proposal mirrors the existing Designators hints for aggregate initialization. It could be enabled by that option or by a new one. When a…

27score
docs
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5no maintainer comment yet; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

Add inlay hints for evaluated enum constant values

Feature Request I would like to suggest adding inlay hints that display the evaluated integer values of enum constants. Currently, clangd can display enum values in hover information, but checking each enumerator individually is inconvenient, especially when working with enums containing many implicitly assigned values. It would be useful to display these values directly in the editor without modifying the source code. 1. Show values at enum declarations For example, given the following code: cpp enum class LogLevel { Trace = 0, Debug, Info, Warning = 10, Error, Critical, }; It would be…

27score
docs
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5no maintainer comment yet; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #2726 Add inlay hints for evaluated enum constant valuesissue
    Feature Request I would like to suggest adding inlay hints that display the evaluated integer values of enum constants. Currently, clangd can display enum values in hover information, but checking each enumerator individually is inconvenient, especially when working with enums…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 5d ago
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

`HeuristicResolver::resolveExprToType()` should also try to expand subscript operators

Not sure if this request should be opened at the main LLVM repository instead, but based on the commentary in clang/Sema/HeuristicResolver.h, clangd appears to be the only (or nearly so) consumer of this class, so opening it here. Feel free to redirect however. In any case, as the title implies, HeuristicResolver::resolveExprToType() currently does not unravel subscript operators (only handling deref operators) when predicting the type. So given: c++ template struct S { int a[N]; }; template void f(S & s) { (void)s.a[0]; } it does not resolve s.a[0] as int, keeping it as a dependent type.…

27score
templates
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5no maintainer comment yet; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 11d ago
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

`textDocument/definition` on a function with a weak default definition returns the weak definition, not the strong one

What When a function has a weak default definition (__attribute__((weak))) in one translation unit and a strong definition in another TU, textDocument/definition returns the weak definition. There is no way to reach the strong definition through LSP navigation. This is the intended linker semantics: the strong definition wins at link time, so the weak body is dead code. Editors showing it as *the* definition is misleading. Reproducer Two files, no headers involved: c // main.c #include int __attribute__((weak)) test(int a) { return a + 1; } int main(void) { printf("%d\n", test(10)); // <- go…

27score
testing
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5no maintainer comment yet; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20d ago
LabelledstaleMatches your profileStatic Analysis & Refactoring

Dependent call does not get semantic color in the presence of an explicit instantiation

In the following code: c++ template struct Waldo { struct Nested; void Find(Nested*); }; template struct Waldo ::Nested { Waldo* w; void Find() { w->Find(this); } // ; There is no semantic coloring for Find on the indicated line. I would expect there to be one of type DependentName (or perhaps Method after #297 is fixed). If I comment out the explicit instantiation Waldo , the DependentName coloring appears.

27score
templates
  • Demand 25% × 0.00 = 00 reactions, 9 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of clangd, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 29d ago
LabelledstaleMatches your profileStatic Analysis & Refactoring

Support ignoring paths when searching for includes in .clangd files.

The layout of one of my projects is as the following: ROOT A B ROOT, A and B are all opend as a vscode folder. I placed different .clangd files in A and B. A doesn't include anything from B. However, clangd misrecognized a include in A to be some header foo.h with the same name from B, resulted in false-negative warnings. The point is, I cannot do anything about it. It seems that clangd's some default behavior resulted in this. Neither c compilers nor clangd provides an option to fix this. So I suggest a feature to ignore include paths for a more controllable behavior when working under…

27score
  • Demand 25% × 0.00 = 00 reactions, 3 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 12, 2026
LabelleduntouchedcandidateMatches your profileStatic Analysis & Refactoring

Code action for dropping qualifiers or using aliases

using ns::Foo; using Y = ns::Foo; ns::Foo bar() { ns::Foo x; return x; } A code action that replaces all ns::Foo with Foo or Y, triggered on the using declaration (or type alias) could be useful and goes well with the existing add using declaration code action, which performs a similar action in the other direction (That interaction could also benefit from replacing all the occurences).

27score
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12clangd is in Language & Toolchain (a focus area)
  • Maintainer engagement 25% × 0.20 = 5comments not checked; filed by a maintainer
  • Feasibility 20% × 0.50 = 10clear scope; has reproduction steps; has code; project onboarding 25%
Evidence
  • #1619 Code action for dropping qualifiers or using aliasesissue
    using ns::Foo; using Y = ns::Foo; ns::Foo bar() { ns::Foo x; return x; } A code action that replaces all ns::Foo with Foo or Y, triggered on the using declaration (or type alias) could be useful and goes well with the existing add using declaration code action, which performs a…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 7, 2026

Why this score

Health 37Contribution friendliness 65computed 20h ago
  • Activity0.00
    0 merged PRs in 30 days (full marks at 20); 0 commits in 30 days (full marks at 60) [health score: no data for maintainer responsiveness; weights renormalized]health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs site [contrib score: no data for maintainer responsiveness; weights renormalized]contrib
  • Entry points1.00
    34 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10) [contrib score: no data for maintainer responsiveness; weights renormalized]contrib
  • Release cadence1.00
    last release 81 days ago (full marks within 90, zero after 730); 10 releases in 365 days (full marks at 4) [health score: no data for maintainer responsiveness; weights renormalized]health
  • Backlog pressure0.00
    90% of 297 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%) [health score: no data for maintainer responsiveness; weights renormalized]health
  • Contributor breadth0.46
    1 unique contributors in 90 days (full marks at 25); top contributor has 29% of commits; stars count for at most 5% of this signal [health score: no data for maintainer responsiveness; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project
  • DemandclangdOct 12, 2026

    Currently clangd doesn't work with non-self-contained files, even if people have a way to build their projects with those files, for example by merging some/all of non-self-contained files into a single TU and building that file.

    68 reactions53 commentsfeature request
  • DemandclangdOct 7, 2026

    It would be nice if some of {C++20 modules, clang header modules} worked in clangd. Essentially no configurations of this work today: occasionally things may happen to work but there are many reported problems and crashes. These are not jus

    67 reactions88 commentsfeature request