struct

LSP::Data::TextDocumentClientCapabilities::CompletionItem

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

commit_characters_support

Client supports commit characters on a completion item.

Source
commit_characters_support=(commit_characters_support : Bool)

Client supports commit characters on a completion item.

Source
deprecated_support

Client supports the deprecated property on a completion item.

Source
deprecated_support=(deprecated_support : Bool)

Client supports the deprecated property on a completion item.

Source
documentation_format

Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.

Source
documentation_format=(documentation_format : Array(String))

Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.

Source
preselect_support

Client supports the preselect property on a completion item.

Source
preselect_support=(preselect_support : Bool)

Client supports the preselect property on a completion item.

Source
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)

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