-
Notifications
You must be signed in to change notification settings - Fork 4
XSLT and XPath Formatting
Phil Fearon edited this page May 26, 2020
·
7 revisions
- 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)