langoustine.lsp.structures.FormattingOptions
See theFormattingOptions companion object
case class FormattingOptions(tabSize: uinteger, insertSpaces: Boolean, trimTrailingWhitespace: Opt[Boolean], insertFinalNewline: Opt[Boolean], trimFinalNewlines: Opt[Boolean])
Value-object describing what options formatting should use.
Value parameters
- insertFinalNewline
-
Insert a newline character at the end of the file if one does not exist. since 3.15.0
- insertSpaces
-
Prefer spaces over tabs.
- tabSize
-
Size of a tab in spaces.
- trimFinalNewlines
-
Trim all newlines after the final newline at the end of the file. since 3.15.0
- trimTrailingWhitespace
-
Trim trailing whitespace on a line. since 3.15.0
Attributes
- Companion
- object
- Source
- structures.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article