Class XMLFormatterDocumentOld
java.lang.Object
org.eclipse.lemminx.services.format.XMLFormatterDocumentOld
Default XML formatter which generates one text edit by rewriting the DOM node
which must be formatted.
- Author:
- Angelo ZERR
-
Constructor Summary
ConstructorsConstructorDescriptionXMLFormatterDocumentOld(TextDocument textDocument, org.eclipse.lsp4j.Range range, SharedSettings sharedSettings, Collection<IFormatterParticipant> formatterParticipants) XML formatter document. -
Method Summary
-
Constructor Details
-
Method Details
-
format
Returns a List containing a single TextEdit, containing the newly formatted changes of this.textDocument- Returns:
- List containing a single TextEdit
- Throws:
BadLocationException
-