Skip to content

clangd: Code completion scores#12

Open
ozacod wants to merge 1 commit intozed-industries:masterfrom
ozacod:code-completion-scores
Open

clangd: Code completion scores#12
ozacod wants to merge 1 commit intozed-industries:masterfrom
ozacod:code-completion-scores

Conversation

@ozacod
Copy link
Copy Markdown

@ozacod ozacod commented Feb 21, 2026

Clangd provides score field in response to "textDocument/completion". This field could be used to calculate completion score as it is noted in clangd extension documentation. After this merged, I am planning to add this score calculation to Zed for C++.

Clangd Protocol Extensions:
"Clients that fuzzy client-side filtering should multiply score by their fuzzy-match score and sort by the result."

clangd-score.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant