XSLT and XPath Formatting - DeltaXML/vscode-xslt-tokenizer GitHub Wiki
Main Formatting Characteristics
- VSCode Formatting
- Format document
- Format selection
- Format on type (new-line only)
- Formatting Rules
- Line-breaks added if none present
- Mixed content white space preserved
- Element nesting indentation
- Observe xml:space scope
- Preserve xsl:text space
- Alignment of attribute names on new lines
- Multi-line attribute-value alignment
- Special XPath attribute name indentation
- XPath Indentation for nested expressions
- Brackets, Square-Braces, Curly-Braces
- If, Else, Else If
- For, Let, Some, Every,
- Indent code blocks in parenthesis, curly-braces or square-braces
- Map Constructor Alignment (TODO)
- Array constructor Alignment (TODO)
- Multi-line Predicate Alignment (TODO)