LSP::Message::Completion::Params
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(text_document : LSP::Data::TextDocumentIdentifier = Data::TextDocumentIdentifier.new, position : LSP::Data::Position = Data::Position.new, context : LSP::Data::CompletionContext | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
context
The completion context. This is only available if the client
specifies to send this using
ClientCapabilities.textDocument.completion.contextSupport === true
context=(context : Data::CompletionContext | Nil)
The completion context. This is only available if the client
specifies to send this using
ClientCapabilities.textDocument.completion.contextSupport === true