struct LSP::FormattingOptions
- LSP::FormattingOptions
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/protocol/formatting_options.crConstructors
- .new(trim_trailing_whitespace : Bool | Nil, insert_final_new_line : Bool | Nil, trim_final_new_lines : Bool | Nil, insert_spaces : Bool, tab_size : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #insert_final_new_line=(insert_final_new_line : Bool | Nil)
- #insert_final_new_line? : Bool | Nil
- #insert_spaces=(insert_spaces : Bool)
- #insert_spaces? : Bool
- #tab_size : Int32
- #tab_size=(tab_size : Int32)
- #trim_final_new_lines=(trim_final_new_lines : Bool | Nil)
- #trim_final_new_lines? : Bool | Nil
- #trim_trailing_whitespace=(trim_trailing_whitespace : Bool | Nil)
- #trim_trailing_whitespace? : Bool | Nil
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)
#