Releases: DotJoshJohnson/vscode-xml
Releases · DotJoshJohnson/vscode-xml
v2.5.1
Bug Fixes
- Fixed inconsistent line break handling between minification and formatting (issue #262).
- "XML to Text" and "Text to XML" now support all of the reserved entities, not just
&
(issue #271). - Fixed a bug that caused XML within CDATA to be formatted or otherwise modified on format (issue #293).
- [@somelinguist]: Fixed a bug in XQuery argument handling (issue #206).
- [@abemedia]: Addressed the "invalid count value" error on format (issue #291).
- Fixed a bug that caused trailing whitespace to be added to split attributes on format (issue #288).
New Features
- None
Other Changes
v2.5.0
v2.4.0
Bug Fixes
- [@KWeaver87]: Fixed an issue with XQuery linting that caused errors to remain on screen after being resolved (issue #218).
- [@emericklaw]: Fixed improper formatting of CDATA content (issue #227).
- [@ThibDev]: Fixed improper handling of quotes in XQuery grammar (issue #242).
- [@line-o]: Fixed line and block comments in XQuery grammar (issue #244).
New Features
- Indent context is now preserved when formatting a range in an XML document (issue #131).
- Added some common XML file extensions so they are handled by default without adjusting default settings (issue #232).
- [@eliasib13]: Added ability to escape/unescape angle brackets via two new commands (XML to Text and Text to XML) (issue #249).
v2.3.2
Bug Fixes
- Fixed a formatting issue related to "mixed content" getting chewed up (issue #200).
- [@kedar-joshi]: Fixed a typo that resulted in a missing parenthesis in the
xmlTools.xqueryExecutionArguments
setting (issue #207).
v2.3.1
v2.3.0
Bug Fixes
- Fixed indentation for closing tags following self-closing tags (issue #185).
- Fixed a regression that caused formatting to fail for attributes containing quotes in the value (issue #187).
Other Changes
- Added a test case to ensure formatting is not broken for attributes with braces in the value (issue #189).
NOTE: The minor version was incremented although no new features were added as the sole feature to be released was pulled last minute.
v2.2.0
Bug Fixes
- The XML Tree View "cursor sync" feature is now disabled by default to prevent the sidebar from opening each time an XML document is clicked (issue #171).
- The V2 formatter no longer chokes on single-quoted attribute values (issue #177).
- The V2 formatter no longer adds extraneous new lines after self-closing tags if they appeared before a start tag (issue #178).
New Features
- Added a new command, XML Tools: Get Current XPath, which builds and displays the current XPath for the selected element or attribute (issue #85).
- Added the option to enforce "pretty" self-closing tags (issue #149).
Other Changes
v2.1.1
v2.1.0
New Features
- All commands except for
XML Tools: Format as XML
are now conditional based on the current language mode.
Other Changes
- Re-added the marketplace icon that was mistakenly removed in
v2.0.0
. - Changed the "Languages" category to "Programming Languages".
v2.0.0
Available on the Visual Studio Marketplace.
Bug Fixes
NOTE: All formatting bugs were fixed in the new "V2" formatter. The classic formatter is still available to use by setting xmlTools.xmlFormatterImplementation
to classic
.
- Fixed a formatting issue that caused self-closing elements to be formatted improperly (issue #120).
- Non-ASCII element names will no longer cause the formatter to choke (issue #125).
- Fixed an issue that caused element text on its own line to be formatted incorrectly (issue #137).
- Fixed a bad "Format as XML" keybinding (issue #133).
New Features
- XML Tools now supports multi-root workspaces (issue #128).
- Allowed the use of some non-encoded characters in attribute values (issue #76).
- Added the ability to split all attribute types onto new lines (issue #116).
- Preserve line breaks during formatting for readability (issue #59).
- The first attribute in an element will not be split onto a new line (issue #89).
- Commented formatted XML will be kept in its formatted state during formatting (issue #118).
- Added metadata to XML Tree View (issue #117).
- Added "cursor sync" feature to XML Tree View (issue #121).
- Added "Minify XML" to editor context menu (issue #151).
Other Changes
- The minimum supported version of VS Code is
v1.22.2
. - XQLint has been updated to
0.4.1
to removenatives
from the dependency tree.