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.

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product