struct

LSP::CompletionParams

Inherits JSON::Serializable < LSP::Initializer < LSP::PartialResultParams < LSP::Initializer < JSON::Serializable < LSP::WorkDoneProgressParams < LSP::TextDocumentPositionParams < LSP::Initializer < JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

context

The completion context. This is only available if the client specifies to send this using ClientCapabilities.textDocument.completion.contextSupport === true

Source
context=(context : CompletionContext | Nil)

The completion context. This is only available if the client specifies to send this using ClientCapabilities.textDocument.completion.contextSupport === true

Source