Class DocumentOnTypeFormattingParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.DocumentOnTypeFormattingParams
The parameters of a [DocumentOnTypeFormattingRequest](#DocumentOnTypeFormattingRequest).
-
Method Summary
Modifier and TypeMethodDescriptioncreate(TextDocumentIdentifier textDocument, Position position, String ch, FormattingOptions options) booleangetCh()The character that has been typed.The format options.The position at which this request was send.The document to format.inthashCode()setOptions(FormattingOptions options) setPosition(Position position) setTextDocument(TextDocumentIdentifier textDocument)
-
Method Details
-
getTextDocument
The document to format. -
setTextDocument
-
getPosition
The position at which this request was send. -
setPosition
-
getCh
The character that has been typed. -
setCh
-
getOptions
The format options. -
setOptions
-
equals
-
hashCode
public int hashCode() -
create
public static DocumentOnTypeFormattingParams create(TextDocumentIdentifier textDocument, Position position, String ch, FormattingOptions options)
-