class LSProtocol::SelectedCompletionInfo

Overview

Describes the currently selected completion item.

@since 3.18.0 @proposed

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(range : Range | Nil, text : String | Nil) #

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

[View source]

Instance Method Detail

def range : Range #

The range that will be replaced if this completion item is accepted.


[View source]
def text : String #

The text the range will be replaced with if this completion is accepted.


[View source]