Class DocumentRangeFormattingParams
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.WorkDoneProgressParams
org.graalvm.tools.lsp.server.types.DocumentRangeFormattingParams
The parameters of a [DocumentRangeFormattingRequest](#DocumentRangeFormattingRequest).
-
Method Summary
Modifier and TypeMethodDescriptioncreate(TextDocumentIdentifier textDocument, Range range, FormattingOptions options) booleanThe format options.getRange()The range to format.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
-
getRange
The range to format. -
setRange
-
getOptions
The format options. -
setOptions
-
equals
- Overrides:
equalsin classWorkDoneProgressParams
-
hashCode
public int hashCode()- Overrides:
hashCodein classWorkDoneProgressParams
-
create
public static DocumentRangeFormattingParams create(TextDocumentIdentifier textDocument, Range range, FormattingOptions options)
-