Package org.eclipse.lemminx.services.format
package org.eclipse.lemminx.services.format
-
ClassDescriptionFormats DOM element attributes: spacing, indentation, quoting, and line splitting.Formats CDATA sections (
<![CDATA[...]]>).Formats XML comment nodes (<!-- ... -->).Formats DOCTYPE declarations and DTD content.Formats DOM elements according to theirFormatElementCategory.Formats processing instructions (<?target ...?>).Formats text nodes within XML elements according to their parent'sFormatElementCategory.Classification of an XML element that determines how the formatter handles its whitespace.Central coordinator for XML document formatting.Default XML formatter which generates one text edit by rewriting the DOM node which must be formatted.Mutable state passed through the formatting tree to track the current formatting context: how deep the indentation is, how much line width remains, and whichFormatElementCategoryapplies.