struct LSP::FormattingOptions

Included Modules

Defined in:

lsp/protocol/formatting_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(trim_trailing_whitespace : Bool | Nil, insert_final_new_line : Bool | Nil, trim_final_new_lines : Bool | Nil, insert_spaces : Bool, tab_size : Int32) #

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

[View source]

Instance Method Detail

def insert_final_new_line=(insert_final_new_line : Bool | Nil) #

[View source]
def insert_final_new_line? : Bool | Nil #

[View source]
def insert_spaces=(insert_spaces : Bool) #

[View source]
def insert_spaces? : Bool #

[View source]
def tab_size : Int32 #

[View source]
def tab_size=(tab_size : Int32) #

[View source]
def trim_final_new_lines=(trim_final_new_lines : Bool | Nil) #

[View source]
def trim_final_new_lines? : Bool | Nil #

[View source]
def trim_trailing_whitespace=(trim_trailing_whitespace : Bool | Nil) #

[View source]
def trim_trailing_whitespace? : Bool | Nil #

[View source]