class LSProtocol::CompletionClientCapabilities
- LSProtocol::CompletionClientCapabilities
- Reference
- Object
Overview
Completion client capabilities
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(completion_item : ClientCompletionItemOptions | Nil = nil, completion_item_kind : ClientCompletionItemOptionsKind | Nil = nil, completion_list : CompletionListCapabilities | Nil = nil, context_support : Bool | Nil = nil, dynamic_registration : Bool | Nil = nil, insert_text_mode : InsertTextMode | Nil = nil)
Instance Method Summary
-
#completion_item : ClientCompletionItemOptions | Nil
The client supports the following
CompletionItem
specific capabilities. - #completion_item_kind : ClientCompletionItemOptionsKind | Nil
-
#completion_list : CompletionListCapabilities | Nil
The client supports the following
CompletionList
specific capabilities. -
#context_support : Bool | Nil
The client supports to send additional context information for a
textDocument/completion
request. -
#dynamic_registration : Bool | Nil
Whether completion supports dynamic registration.
-
#insert_text_mode : InsertTextMode | Nil
Defines how the client handles whitespace and indentation when accepting a completion item that uses multi line text in either
insertText
ortextEdit
.
Constructor Detail
Instance Method Detail
The client supports the following CompletionItem
specific
capabilities.
The client supports the following CompletionList
specific
capabilities.
@since 3.17.0
The client supports to send additional context information for a
textDocument/completion
request.
Defines how the client handles whitespace and indentation
when accepting a completion item that uses multi line
text in either insertText
or textEdit
.
@since 3.17.0