clangd
Clang language server daemon
| Type | object |
|---|---|
| File match |
.clangd
.clangd.yml
.clangd.yaml
**/clangd/config.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/clangd/latest.json |
| Source | https://www.schemastore.org/clangd.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Conditions https://clangd.llvm.org/config.html#if
Flag lists to be added or removed https://clangd.llvm.org/config.html#compileflags
5 nested properties
A directory to search for compilation database https://clangd.llvm.org/config.html#compilationdatabase
Whether Clangd should include its own built-in headers (like stddef.h), or use the system header found from the query driver.
Code interpretation outside of the current file
3 nested properties
Whether to produce a project index from files built in the background https://clangd.llvm.org/config.html#background
An external index source https://clangd.llvm.org/config.html#external
Whether to index a standard library https://clangd.llvm.org/config.html#standardlibrary
A code base style https://clangd.llvm.org/config.html#style
3 nested properties
List of fully qualified namespaces https://clangd.llvm.org/config.html#fullyqualifiednamespaces
A list of regexes. Headers whose path matches one of these regexes are inserted using "" syntax https://clangd.llvm.org/config#quotedheaders
A list of regexes. Headers whose path matches one of these regexes are inserted using <> syntax. https://clangd.llvm.org/config#angledheaders
Diagnostics https://clangd.llvm.org/config.html#diagnostics
5 nested properties
Diagnostic codes that to be suppressed https://clangd.llvm.org/config.html#suppress
Clang-Tidy options https://clangd.llvm.org/config.html#clangtidy
4 nested properties
Check's options https://clangd.llvm.org/config.html#checkoptions
Whether to run clang-tidy checks that may slow down clangd. https://clangd.llvm.org/config.html#fastcheckfilter
Whether to enable Include Cleaner's unused includes diagnostics https://clangd.llvm.org/config.html#unusedincludes
2 nested properties
A list of regexes. Include Cleaner will not produce diagnostics for headers whose path is a suffix match for any of these https://clangd.llvm.org/config.html#ignoreheader
Enables/disables detection of unused angled includes that are not from the Standard Library. Disabled by default to avoid false-positives caused by umbrella headers https://clangd.llvm.org/config.html#analyzeangledincludes
Whether to enable Include Cleaner's missing includes diagnostics https://clangd.llvm.org/config.html#missingincludes
Completion options https://clangd.llvm.org/config.html#completion
5 nested properties
Whether to include suggestions from scopes that are not visible https://clangd.llvm.org/config.html#allscopes
Determines what is inserted in argument list position when completing a call to a function https://clangd.llvm.org/config#argumentlists
Whether to add #include directives when accepting code completions. Config equivalent of the CLI option --header-insertion.
Change how completion will suggest code snippets and code patterns.
Controls whether exact or fuzzy matching is used to decide which macro symbols to offer during code completion. https://clangd.llvm.org/config.html#macrofilter
Inlay-hints options https://clangd.llvm.org/config.html#inlayhints
7 nested properties
Whether to enable inlay-hints https://clangd.llvm.org/config.html#enabled
Whether to enable inlay-hints for parameter names in function calls https://clangd.llvm.org/config.html#parameternames
Whether to enable inlay-hints for deduced types https://clangd.llvm.org/config.html#deducedtypes
Whether to enable inlay-hints for designators in aggregate initialization https://clangd.llvm.org/config.html#designators
A boolean that enables/disables inlay-hints for block end comments https://clangd.llvm.org/config.html#blockend
A boolean that enables/disables inlay hints for default arguments https://clangd.llvm.org/config#defaultarguments
Character limit for type hints. Hints that would be longer are not shown. 0 means no limit. https://clangd.llvm.org/config.html#typenamelimit
Hover card's options https://clangd.llvm.org/config.html#hover
2 nested properties
Whether to display desugared types https://clangd.llvm.org/config.html#showaka
Character limit for hovered macro expansions. Expansions that would be longer are not shown. https://clangd.llvm.org/config.html#macrocontentslimit
Configure semantic highlighting https://clangd.llvm.org/config.html#semantic-tokens
2 nested properties
Specify semantic token kinds that clangd should not send to client https://clangd.llvm.org/config.html#disabledkinds
Specify semantic token modifiers that clangd should not send to client https://clangd.llvm.org/config.html#disabledmodifiers
Specify server side documentation code comment interpretation. Affects the format of the documentation string sent to the client for hover and code completions. https://clangd.llvm.org/config.html#documentation
1 nested properties
Determines the comment format of code documentation. https://clangd.llvm.org/config.html#commentformat