LSProtocol::InlineCompletionItem
Inherits JSON::Serializable / Reference / Object
An inline completion item represents a text snippet that is proposed inline to complete text that is being typed.
@since 3.18.0 @proposed
Constructors
new(pull : JSON::PullParser)
Sourcenew(insert_text : String | StringValue | Nil, command : Command | Nil = nil, filter_text : String | Nil = nil, range : Range | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
filter_text
A text that is used to decide if this inline completion should be shown. When falsy the InlineCompletionItem#insertText is used.