class LSProtocol::FormattingOptions

Overview

Value-object describing what options formatting should use.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(insert_spaces : Bool | Nil, tab_size : UInt32 | Nil, insert_final_newline : Bool | Nil = nil, trim_final_newlines : Bool | Nil = nil, trim_trailing_whitespace : Bool | Nil = nil) #

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

[View source]

Instance Method Detail

def insert_final_newline : Bool | Nil #

[View source]
def insert_spaces : Bool #

[View source]
def tab_size : UInt32 #

[View source]
def trim_final_newlines : Bool | Nil #

[View source]
def trim_trailing_whitespace : Bool | Nil #

[View source]