class LSP::CompletionParams
- LSP::CompletionParams
- LSP::TextDocumentPositionParams
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/protocol/completion_params.crConstructors
Instance Method Summary
-
#context : CompletionContext | Nil
The completion context.
-
#context=(context : CompletionContext | Nil)
The completion context.
Instance methods inherited from class LSP::TextDocumentPositionParams
path
path,
position : Position
position,
position=(position : Position)
position=,
text_document : TextDocumentIdentifier
text_document,
text_document=(text_document : TextDocumentIdentifier)
text_document=
Constructor methods inherited from class LSP::TextDocumentPositionParams
new(pull : JSON::PullParser)
new
Constructor Detail
Instance Method Detail
def context : CompletionContext | Nil
#
The completion context. This is only available if the client specifies
to send this using ClientCapabilities.textDocument.completion.contextSupport === true
def context=(context : CompletionContext | Nil)
#
The completion context. This is only available if the client specifies
to send this using ClientCapabilities.textDocument.completion.contextSupport === true