class LSProtocol::InlineCompletionParams

Overview

A parameter literal used in inline completion requests.

@since 3.18.0 @proposed

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(context : InlineCompletionContext | Nil, position : Position | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def context : InlineCompletionContext #

Additional information about the context in which inline completions were requested.


[View source]
def position : Position #

The position inside the text document.


[View source]
def text_document : TextDocumentIdentifier #

The text document.


[View source]
def work_done_token : ProgressToken | Nil #

An optional token that a server can use to report work done progress.


[View source]