class LSProtocol::InlineCompletionRequest

Overview

A request to provide inline completions in a document. The request's parameter is of type InlineCompletionParams, the response is of type Array(InlineCompletion) or a Thenable that resolves to such.

@since 3.18.0 @proposed

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32 | String, params : InlineCompletionParams) #

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

[View source]

Instance Method Detail

def id : Int32 | String #

The request id.


[View source]
def jsonrpc : String #

[View source]
def method : String #

The method to be invoked.


[View source]
def params : InlineCompletionParams #

[View source]