LSP::FormattingOptions
Inherits JSON::Serializable::Unmapped < JSON::Serializable < LSP::Initializer < Struct < Value < Object
Value-object describing what options formatting should use.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew
SourceInstance methods
insert_final_newline=(insert_final_newline : Bool | Nil)
Insert a newline character at the end of the file if one does not exist.
trim_final_newlines=(trim_final_newlines : Bool | Nil)
Trim all newlines after the final newline at the end of the file.
trim_trailing_whitespace=(trim_trailing_whitespace : Bool | Nil)
Trim trailing whitespace on a line.