struct LSP::CompletionClientCapabilities::CompletionItem

Included Modules

Defined in:

lsp/protocol/completion_client_capabilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def 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.


[View source]
def 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.


[View source]