class LSProtocol::CompletionClientCapabilities

Overview

Completion client capabilities

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(completion_item : ClientCompletionItemOptions | Nil = nil, completion_item_kind : ClientCompletionItemOptionsKind | Nil = nil, completion_list : CompletionListCapabilities | Nil = nil, context_support : Bool | Nil = nil, dynamic_registration : Bool | Nil = nil, insert_text_mode : InsertTextMode | Nil = nil) #

[View source]

Instance Method Detail

def completion_item : ClientCompletionItemOptions | Nil #

The client supports the following CompletionItem specific capabilities.


[View source]
def completion_item_kind : ClientCompletionItemOptionsKind | Nil #

[View source]
def completion_list : CompletionListCapabilities | Nil #

The client supports the following CompletionList specific capabilities.

@since 3.17.0


[View source]
def context_support : Bool | Nil #

The client supports to send additional context information for a textDocument/completion request.


[View source]
def dynamic_registration : Bool | Nil #

Whether completion supports dynamic registration.


[View source]
def insert_text_mode : InsertTextMode | Nil #

Defines how the client handles whitespace and indentation when accepting a completion item that uses multi line text in either insertText or textEdit.

@since 3.17.0


[View source]