class

LSProtocol::SelectedCompletionInfo

Inherits JSON::Serializable / Reference / Object

Describes the currently selected completion item.

@since 3.18.0 @proposed

Constructors

new(range : Range | Nil, text : String | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

range

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

Source
text

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

Source