plugins.lsp.servers.dartls.settings
The settings for this LSP.
Type: attribute set of anything
Default:
{ }
Example:
{
callback = {
__raw = ''
function()
print('nixvim')
end
'';
};
foo_bar = 42;
hostname = "localhost:8080";
}
Declared by:
plugins.lsp.servers.dartls.settings.enableSdkFormatter
When set to false, prevents registration (or unregisters) the SDK formatter. When set to true or not supplied, will register/reregister the SDK formatter
Type: null or boolean
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.enableSnippets
Whether to include code snippets (such as class, stful, switch) in code completion. When unspecified, snippets will be included.
Type: null or boolean
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.analysisExcludedFolders
An array of paths (absolute or relative to each workspace folder) that should be excluded from analysis.
Type: null or (list of string)
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.completeFunctionCalls
When set to true, completes functions/methods with their required parameters.
Type: null or boolean
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.documentation
The typekind of dartdocs to include in Hovers, Code Completion, Signature Help and other similar
requests.
If not set, defaults to "full"
.
Type: null or one of “none”, “summary”, “full”
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.includeDependenciesInWorkspaceSymbols
Whether to include symbols from dependencies and Dart/Flutter SDKs in Workspace Symbol results. If not set, defaults to true.
Type: null or boolean
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.lineLength
The number of characters the formatter should wrap code at. If unspecified, code will be wrapped at 80 characters.
Type: null or (unsigned integer, meaning >=0)
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.renameFilesWithClasses
When set to “always”, will include edits to rename files when classes are renamed if the
filename matches the class name (but in snake_form).
When set to “prompt”, a prompt will be shown on each class rename asking to confirm the file
rename.
Otherwise, files will not be renamed.
Renames are performed using LSP’s ResourceOperation
edits - that means the rename is simply
included in the resulting WorkspaceEdit
and must be handled by the client.
Type: null or one of “always”, “prompt”
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.showTodos
Whether to generate diagnostics for TODO comments. If unspecified, diagnostics will not be generated.
Type: null or boolean
Default:
null
Declared by:
plugins.lsp.servers.dartls.settings.updateImportsOnRename
Whether to update imports and other directives when files are renamed.
When unspecified, imports will be updated if the client supports willRenameFiles
requests.
Type: null or boolean
Default:
null
Declared by: