clang-tools 22.0.0git
|
Describes code completion preferences. More...
#include <ConfigFragment.h>
Public Attributes | |
std::optional< Located< bool > > | AllScopes |
Whether code completion should include suggestions from scopes that are not visible. | |
std::optional< Located< std::string > > | ArgumentLists |
How to present the argument list between '()' and '<>': valid values are enum Config::ArgumentListsPolicy values: None: Nothing at all OpenDelimiter: only opening delimiter "(" or "<" Delimiters: empty pair of delimiters "()" or "<>" FullPlaceholders: full name of both type and parameter. | |
std::optional< Located< std::string > > | HeaderInsertion |
Add #include directives when accepting code completions. | |
std::optional< Located< std::string > > | CodePatterns |
Will suggest code patterns & snippets. |
Describes code completion preferences.
Definition at line 333 of file ConfigFragment.h.
std::optional<Located<bool> > clang::clangd::config::Fragment::CompletionBlock::AllScopes |
Whether code completion should include suggestions from scopes that are not visible.
The required scope prefix will be inserted.
Definition at line 336 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::CompletionBlock::ArgumentLists |
How to present the argument list between '()' and '<>': valid values are enum Config::ArgumentListsPolicy values: None: Nothing at all OpenDelimiter: only opening delimiter "(" or "<" Delimiters: empty pair of delimiters "()" or "<>" FullPlaceholders: full name of both type and parameter.
Definition at line 343 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::CompletionBlock::CodePatterns |
Will suggest code patterns & snippets.
Values are Config::CodePatternsPolicy: All => enable all code patterns and snippets suggestion None => disable all code patterns and snippets suggestion
Definition at line 356 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::CompletionBlock::HeaderInsertion |
Add #include directives when accepting code completions.
Config equivalent of the CLI option '–header-insertion' Valid values are enum Config::HeaderInsertionPolicy values: "IWYU": 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 "Never": Never insert headers
Definition at line 351 of file ConfigFragment.h.