DocumentOnTypeFormattingParams

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.

Companion:
object
Source:
structures.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product