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) #

def self.new(**args) #

Instance Method Detail

def insert_final_newline : Bool? #

def insert_final_newline=(insert_final_newline : Bool?) #

def insert_spaces : Bool #

def insert_spaces=(insert_spaces : Bool) #

def tab_size : Int32 #

def tab_size=(tab_size : Int32) #

def trim_final_newlines : Bool? #

def trim_final_newlines=(trim_final_newlines : Bool?) #

def trim_trailing_whitespace : Bool? #

def trim_trailing_whitespace=(trim_trailing_whitespace : Bool?) #