struct LSP::CompletionParams

Included Modules

Defined in:

requests/language_features/completion.cr

Constructors

Instance Method Summary

Instance methods inherited from module LSP::PartialResultParams

partial_result_token : ProgressToken? partial_result_token, partial_result_token=(partial_result_token : ProgressToken?) 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? work_done_token, work_done_token=(work_done_token : ProgressToken?) 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

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

def self.new(**args) #

Instance Method Detail

def context : CompletionContext? #

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


def context=(context : CompletionContext?) #

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