FormattingOptions

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.

Attributes

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

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product