We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HeaderInsertion
1 parent d934529 commit f98c535Copy full SHA for f98c535
config.md
@@ -394,6 +394,16 @@ The default is `FullPlaceholders`.
394
This option governs the completion of template names as well, where
395
the delimiters are `<>`.
396
397
+### HeaderInsertion
398
+{:.v21}
399
+
400
+Add `#include` directives when accepting code completions. Config
401
+equivalent of the CLI option `--header-insertion`. Valid values are:
402
+- `IWYU`: Include what you use. Insert the owning header for top-level
403
+ symbols, unless the header is already directly included or the
404
+ symbol is forward-declared.
405
+- `Never`: Never insert headers.
406
407
## InlayHints
408
{:.v14}
409
0 commit comments