struct

LSP::CompletionClientCapabilities::CompletionItem

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

snippet_support

Client supports snippets as insert text.

A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0 defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

Source
snippet_support=(snippet_support : Bool | Nil)

Client supports snippets as insert text.

A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0 defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

Source