You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/schemas/json/clangd.json
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -459,6 +459,16 @@
459
459
"type": "string",
460
460
"minLength": 1,
461
461
"examples": ["clang++"]
462
+
},
463
+
"BuiltinHeaders": {
464
+
"description": "Whether Clangd should include its own built-in headers (like stddef.h), or use the system header found from the query driver.",
465
+
"type": "string",
466
+
"default": "Clangd",
467
+
"enum": ["Clangd", "QueryDriver"],
468
+
"enumDescriptions": [
469
+
"Use builtin headers from clangd. This is the default.",
470
+
"Use the headers extracted from the compiler via the --query-driver command line argument. If a query driver is not supplied or does not match the compiler, then the Clangd builtin headers will be the fallback."
471
+
]
462
472
}
463
473
},
464
474
"additionalProperties": false
@@ -664,6 +674,26 @@
664
674
"`fo^` completes to `foo(int arg)`, with `int arg` selected"
665
675
],
666
676
"default": "FullPlaceholders"
677
+
},
678
+
"HeaderInsertion": {
679
+
"description": "Whether to add #include directives when accepting code completions. Config equivalent of the CLI option --header-insertion.",
680
+
"type": "string",
681
+
"default": "IWYU",
682
+
"enum": ["IWYU", "Never"],
683
+
"enumDescriptions": [
684
+
"Include what you use. Insert the owning header for top-level symbols, unless the header is already directly included or the symbol is forward-declared. This is the default.",
685
+
"Never insert headers."
686
+
]
687
+
},
688
+
"CodePatterns": {
689
+
"description": "Change how completion will suggest code snippets and code patterns.",
690
+
"type": "string",
691
+
"default": "All",
692
+
"enum": ["All", "None"],
693
+
"enumDescriptions": [
694
+
"All the code snippets and patterns are suggested.",
695
+
"None of the code snippets and patterns are suggested."
0 commit comments