struct LSP::DocumentOnTypeFormattingOptions

Included Modules

Defined in:

lsp/protocol/document_on_type_formatting_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(first_trigger_character : String, more_trigger_character : Nil | Array(String)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def first_trigger_character : String #

A character on which formatting should be triggered, like }.


[View source]
def first_trigger_character=(first_trigger_character : String) #

A character on which formatting should be triggered, like }.


[View source]
def more_trigger_character : Array(String) | Nil #

More trigger characters.


[View source]
def more_trigger_character=(more_trigger_character : Array(String) | Nil) #

More trigger characters.


[View source]