class LSP::CompletionRequest
- LSP::CompletionRequest
- LSP::RequestMessage(Array(LSP::CompletionItem) | LSP::CompletionList | Nil)
- Reference
- Object
Overview
The Completion request is sent from the client to the server to compute completion items at a given cursor position.
Completion items are presented in the IntelliSense.
Included Modules
Defined in:
requests/language_features/completion.crConstructors
-
.new(pull : JSON::PullParser)
The Completion request is sent from the client to the server to compute completion items at a given cursor position.
- .new(**args)
Instance Method Summary
Instance methods inherited from class LSP::RequestMessage(Array(LSP::CompletionItem) | LSP::CompletionList | Nil)
id : RequestId
id,
id=(id : RequestId)
id=,
method : String
method,
method=(method : String)
method=,
on_response(raw : JSON::Any?, e : ResponseError?)on_response(&block : Proc(Result(LSP::CompletionItem) | Result | Result?, ResponseError?, Nil)) on_response, on_response? : Proc(Result(LSP::CompletionItem) | Result | Result?, ResponseError?, Nil)? on_response?
Constructor methods inherited from class LSP::RequestMessage(Array(LSP::CompletionItem) | LSP::CompletionList | Nil)
new(pull : JSON::PullParser)new(**args) new
Constructor Detail
def self.new(pull : JSON::PullParser)
#
The Completion request is sent from the client to the server to compute completion items at a given cursor position.
Completion items are presented in the IntelliSense.