struct LSP::FormattingOptions

Overview

Value-object describing what options formatting should use.

Included Modules

Defined in:

requests/language_features/formatting.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def insert_final_newline : Bool | Nil #

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

[View source]
def insert_spaces : Bool #

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

[View source]
def tab_size : Int32 #

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

[View source]
def trim_final_newlines : Bool | Nil #

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

[View source]
def trim_trailing_whitespace : Bool | Nil #

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

[View source]