Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / clangd
Schema registry

clangd

Clang language server daemon

.clangd.clangd.yml.clangd.yaml**/clangd/config.yaml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your .clangd and it validates in your browser — nothing is uploaded.

Validate a .clangd → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
IfobjectConditions https://clangd.llvm.org/config.html#if
If.PathMatchoneOf
If.PathExcludeoneOf
CompileFlagsobjectFlag lists to be added or removed https://clangd.llvm.org/config.html#compileflags
CompileFlags.AddoneOf
CompileFlags.RemoveoneOf
CompileFlags.CompilationDatabaseoneOfA directory to search for compilation database https://clangd.llvm.org/config.html#compilationdatabase
default: "Ancestors"
CompileFlags.CompilerstringAn `argv[0]` replacement https://clangd.llvm.org/config.html#compiler
CompileFlags.BuiltinHeadersstringWhether Clangd should include its own built-in headers (like stddef.h), or use the system header found from the query driver.
default: "Clangd"
one of: "Clangd", "QueryDriver"
IndexobjectCode interpretation outside of the current file
Index.BackgroundstringWhether to produce a project index from files built in the background https://clangd.llvm.org/config.html#background
default: "Build"
one of: "Build", "Skip"
Index.ExternaloneOfAn external index source https://clangd.llvm.org/config.html#external
Index.StandardLibrarybooleanWhether to index a standard library https://clangd.llvm.org/config.html#standardlibrary
default: true
StyleobjectA code base style https://clangd.llvm.org/config.html#style
Style.FullyQualifiedNamespacesarray<string>List of fully qualified namespaces https://clangd.llvm.org/config.html#fullyqualifiednamespaces
Style.QuotedHeadersarray<string>A list of regexes. Headers whose path matches one of these regexes are inserted using "" syntax https://clangd.llvm.org/config#quotedheaders
Style.AngledHeadersarray<string>A list of regexes. Headers whose path matches one of these regexes are inserted using <> syntax. https://clangd.llvm.org/config#angledheaders
DiagnosticsobjectDiagnostics https://clangd.llvm.org/config.html#diagnostics
Diagnostics.SuppressoneOfDiagnostic codes that to be suppressed https://clangd.llvm.org/config.html#suppress
Diagnostics.ClangTidyobjectClang-Tidy options https://clangd.llvm.org/config.html#clangtidy
Diagnostics.ClangTidy.AddoneOf
Diagnostics.ClangTidy.RemoveoneOf
Diagnostics.ClangTidy.CheckOptionsobjectCheck's options https://clangd.llvm.org/config.html#checkoptions
Diagnostics.ClangTidy.FastCheckFilterstringWhether to run clang-tidy checks that may slow down clangd. https://clangd.llvm.org/config.html#fastcheckfilter
default: "Strict"
one of: "Strict", "Loose", "None"
Diagnostics.UnusedIncludesstringWhether to enable Include Cleaner's unused includes diagnostics https://clangd.llvm.org/config.html#unusedincludes
default: "Strict"
one of: "None", "Strict"
Diagnostics.Includesobject
Diagnostics.Includes.IgnoreHeaderarray<string>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
Diagnostics.Includes.AnalyzeAngledIncludesbooleanEnables/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
default: false
Diagnostics.MissingIncludesstringWhether to enable Include Cleaner's missing includes diagnostics https://clangd.llvm.org/config.html#missingincludes
default: "None"
one of: "None", "Strict"
CompletionobjectCompletion options https://clangd.llvm.org/config.html#completion
Completion.AllScopesbooleanWhether to include suggestions from scopes that are not visible https://clangd.llvm.org/config.html#allscopes
Completion.ArgumentListsstringDetermines what is inserted in argument list position when completing a call to a function https://clangd.llvm.org/config#argumentlists
default: "FullPlaceholders"
one of: "None", "OpenDelimiter", "Delimiters", "FullPlaceholders"
Completion.HeaderInsertionstringWhether to add #include directives when accepting code completions. Config equivalent of the CLI option --header-insertion.
default: "IWYU"
one of: "IWYU", "Never"
Completion.CodePatternsstringChange how completion will suggest code snippets and code patterns.
default: "All"
one of: "All", "None"
Completion.MacroFilterstringControls whether exact or fuzzy matching is used to decide which macro symbols to offer during code completion. https://clangd.llvm.org/config.html#macrofilter
default: "ExactPrefix"
one of: "ExactPrefix", "FuzzyMatch"
InlayHintsobjectInlay-hints options https://clangd.llvm.org/config.html#inlayhints
InlayHints.EnabledbooleanWhether to enable inlay-hints https://clangd.llvm.org/config.html#enabled
InlayHints.ParameterNamesbooleanWhether to enable inlay-hints for parameter names in function calls https://clangd.llvm.org/config.html#parameternames
InlayHints.DeducedTypesbooleanWhether to enable inlay-hints for deduced types https://clangd.llvm.org/config.html#deducedtypes
InlayHints.DesignatorsbooleanWhether to enable inlay-hints for designators in aggregate initialization https://clangd.llvm.org/config.html#designators
InlayHints.BlockEndbooleanA boolean that enables/disables inlay-hints for block end comments https://clangd.llvm.org/config.html#blockend
InlayHints.DefaultArgumentsbooleanA boolean that enables/disables inlay hints for default arguments https://clangd.llvm.org/config#defaultarguments
InlayHints.TypeNameLimitnumberCharacter limit for type hints. Hints that would be longer are not shown. 0 means no limit. https://clangd.llvm.org/config.html#typenamelimit
HoverobjectHover card's options https://clangd.llvm.org/config.html#hover
Hover.ShowAKAbooleanWhether to display desugared types https://clangd.llvm.org/config.html#showaka
Hover.MacroContentsLimitnumberCharacter limit for hovered macro expansions. Expansions that would be longer are not shown. https://clangd.llvm.org/config.html#macrocontentslimit
default: 2048
SemanticTokensobjectConfigure semantic highlighting https://clangd.llvm.org/config.html#semantic-tokens
SemanticTokens.DisabledKindsarray<string>Specify semantic token kinds that clangd should not send to client https://clangd.llvm.org/config.html#disabledkinds
SemanticTokens.DisabledModifiersarray<string>Specify semantic token modifiers that clangd should not send to client https://clangd.llvm.org/config.html#disabledmodifiers
DocumentationobjectSpecify 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
Documentation.CommentFormatstringDetermines the comment format of code documentation. https://clangd.llvm.org/config.html#commentformat
default: "Plaintext"
one of: "Plaintext", "Markdown", "Doxygen"

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
anyOfJSON Schema Core, draft 2020-12§10.2.1.2 — "anyOf"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
examplesJSON Schema Validation, draft 2020-12§9.5 — "examples"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
minLengthJSON Schema Validation, draft 2020-12§6.3.2 — "minLength"
oneOfJSON Schema Core, draft 2020-12§10.2.1.3 — "oneOf"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
uniqueItemsJSON Schema Validation, draft 2020-12§6.4.3 — "uniqueItems"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas