class LSP::CompletionParams

Included Modules

Defined in:

lsp/protocol/completion_params.cr

Constructors

Instance Method Summary

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

def self.new(pull : JSON::PullParser) #

[View source]

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


[View source]
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


[View source]