DocumentOnTypeFormattingParams

langoustine.lsp.structures.DocumentOnTypeFormattingParams
See theDocumentOnTypeFormattingParams companion object
case class DocumentOnTypeFormattingParams(textDocument: TextDocumentIdentifier, position: Position, ch: String, options: FormattingOptions)

The parameters of a [[DocumentOnTypeFormattingRequest]].

Value parameters

ch

The character that has been typed that triggered the formatting on type request. That is not necessarily the last character that got inserted into the document since the client could auto insert characters as well (e.g. like automatic brace completion).

options

The formatting options.

position

The position around which the on type formatting should happen. This is not necessarily the exact position where the character denoted by the property ch got typed.

textDocument

The document to format.

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