class LSProtocol::InlineCompletionParams
- LSProtocol::InlineCompletionParams
- Reference
- Object
Overview
A parameter literal used in inline completion requests.
@since 3.18.0 @proposed
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(context : InlineCompletionContext | Nil, position : Position | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#context : InlineCompletionContext
Additional information about the context in which inline completions were requested.
-
#position : Position
The position inside the text document.
-
#text_document : TextDocumentIdentifier
The text document.
-
#work_done_token : ProgressToken | Nil
An optional token that a server can use to report work done progress.
Constructor Detail
def self.new(context : InlineCompletionContext | Nil, position : Position | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
def context : InlineCompletionContext
#
Additional information about the context in which inline completions were requested.
def work_done_token : ProgressToken | Nil
#
An optional token that a server can use to report work done progress.