struct
LSP::CompletionOptions
- LSP::CompletionOptions
- Struct
- Value
- Object
Overview
Completion options.
Included Modules
Defined in:
base/capabilities/server_capabilities.crConstructors
Instance Method Summary
-
#all_commit_characters : Array(String) | Nil
The list of all possible characters that commit a completion.
-
#all_commit_characters=(all_commit_characters : Array(String) | Nil)
The list of all possible characters that commit a completion.
-
#resolve_provider : Bool | Nil
The server provides support to resolve additional information for a completion item.
-
#resolve_provider=(resolve_provider : Bool | Nil)
The server provides support to resolve additional information for a completion item.
-
#trigger_characters : Array(String) | Nil
Most tools trigger completion request automatically without explicitly requesting it using a keyboard shortcut (e.g.
-
#trigger_characters=(trigger_characters : Array(String) | Nil)
Most tools trigger completion request automatically without explicitly requesting it using a keyboard shortcut (e.g.
Instance methods inherited from module LSP::WorkDoneProgressOptions
work_done_progress : Bool | Nil
work_done_progress,
work_done_progress=(work_done_progress : Bool | Nil)
work_done_progress=
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
Constructor Detail
Instance Method Detail
The list of all possible characters that commit a completion. This field can be used
if clients don't support individual commit characters per completion item. See
ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport.
If a server provides both allCommitCharacters and commit characters on an individual
completion item the ones on the completion item win.
The list of all possible characters that commit a completion. This field can be used
if clients don't support individual commit characters per completion item. See
ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport.
If a server provides both allCommitCharacters and commit characters on an individual
completion item the ones on the completion item win.
The server provides support to resolve additional information for a completion item.
The server provides support to resolve additional information for a completion item.
Most tools trigger completion request automatically without explicitly requesting
it using a keyboard shortcut (e.g. Ctrl+Space). Typically they do so when the user
starts to type an identifier. For example if the user types c in a JavaScript file
code complete will automatically pop up present console besides others as a
completion item. Characters that make up identifiers don't need to be listed here.
If code complete should automatically be trigger on characters not being valid inside
an identifier (for example . in JavaScript) list them in triggerCharacters.
Most tools trigger completion request automatically without explicitly requesting
it using a keyboard shortcut (e.g. Ctrl+Space). Typically they do so when the user
starts to type an identifier. For example if the user types c in a JavaScript file
code complete will automatically pop up present console besides others as a
completion item. Characters that make up identifiers don't need to be listed here.
If code complete should automatically be trigger on characters not being valid inside
an identifier (for example . in JavaScript) list them in triggerCharacters.