Class DocumentFormattingParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
org.graalvm.tools.lsp.server.types.DocumentFormattingParams
The parameters of a [DocumentFormattingRequest](#DocumentFormattingRequest).
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentFormattingParamscreate(TextDocumentIdentifier textDocument, FormattingOptions options) booleanThe format options.The document to format.inthashCode()setOptions(FormattingOptions options) setTextDocument(TextDocumentIdentifier textDocument) Methods inherited from class org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
create, getWorkDoneToken, setWorkDoneToken
-
Method Details
-
getTextDocument
The document to format. -
setTextDocument
-
getOptions
The format options. -
setOptions
-
equals
- Overrides:
equalsin classWorkDoneProgressParams
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkDoneProgressParams
-
create
public static DocumentFormattingParams create(TextDocumentIdentifier textDocument, FormattingOptions options)
-