View source
typedef FormattingOptions
package languageServerProtocol
import languageServerProtocol.Types
Value-object describing what options formatting should use. This object can contain additional fields of type Bool/Int/Float/String.
Fields
optionaltrimTrailingWhitespace:Null<Bool>
Trim trailing whitespaces on a line.
Available since
3.15.0
.optionaltrimFinalNewlines:Null<Bool>
Trim all newlines after the final newline at the end of the file.
Available since
3.15.0
.optionalinsertFinalNewline:Null<Bool>
Insert a newline character at the end of the file if one does not exist.
Available since
3.15.0
.