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 | 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

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

[View source]
def self.new(**args) #

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