GenLSP.Protocol.Structures.FormattingOptions (gen_lsp v0.0.1)
Value-object describing what options formatting should use.
properties
Properties
tabSize :: uinteger (required)
Size of a tab in spaces.
insertSpaces :: boolean (required)
Prefer spaces over tabs.
trimTrailingWhitespace :: boolean
Trim trailing whitespace on a line.
@since 3.15.0
insertFinalNewline :: boolean
Insert a newline character at the end of the file if one does not exist.
@since 3.15.0
trimFinalNewlines :: boolean
Trim all newlines after the final newline at the end of the file.
@since 3.15.0