struct LSP::CompletionParams
- LSP::CompletionParams
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- LSP::Initializer
- LSP::PartialResultParams
- LSP::TextDocumentPositionParams
- LSP::WorkDoneProgressParams
Defined in:
requests/language_features/completion.crConstructors
Instance Method Summary
-
#context : CompletionContext | Nil
The completion context.
-
#context=(context : CompletionContext | Nil)
The completion context.
Instance methods inherited from module LSP::PartialResultParams
partial_result_token : ProgressToken | Nil
partial_result_token,
partial_result_token=(partial_result_token : ProgressToken | Nil)
partial_result_token=
Constructor methods inherited from module LSP::PartialResultParams
new(pull : JSON::PullParser)new(**args) new
Instance methods inherited from module LSP::WorkDoneProgressParams
work_done_token : ProgressToken | Nil
work_done_token,
work_done_token=(work_done_token : ProgressToken | Nil)
work_done_token=
Instance methods inherited from module LSP::TextDocumentPositionParams
position : Position
position,
position=(position : Position)
position=,
text_document : TextDocumentIdentifier
text_document,
text_document=(text_document : TextDocumentIdentifier)
text_document=
Constructor methods inherited from module LSP::TextDocumentPositionParams
new(pull : JSON::PullParser)new(**args) 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