Skip to content

Releases: redhat-developer/vscode-xml

0.10.0

03 Feb 15:53
Compare
Choose a tag to compare
0.10.0 Pre-release
Pre-release

Enhancements

  • (Experimental) Ability to edit start/end tag simultaneously under xml.mirrorCursorOnMatchingTag preference. Can be toggled on/off on Windows/Linux through ctrl+shift+f2 and on Mac cmd+shift+f2. See #130.
  • Allows File Associations to be used without Workspace. See #202.
  • CodeAction for missing root end tag. See #lsp4xml/595.
  • DTD hover/completion support for documentation. See #lsp4xml/592.
  • CodeAction for similar looking element names if it doesn't match the schema. See #lsp4xml/591.
  • Navigation and intellisense for xs:include-ed types. See #lsp4xml/579.
  • Contribute to completion, hover .. with external JAR. See #193.
  • Added documentation on how to contribute extensions to the XML LS. See #197.

Bug Fixes

  • xs:import code action was inserting inside the tag name. See #lsp4xml/593.
  • Prolog attribute completion was providing invalid values. See #lsp4xml/587.
  • getCurrentAttribute method was not returning the correct attribute name. See #lsp4xml/584.
  • Hover was not returning all hover responses. See #lsp4xml/582.
  • cvc-pattern error range fix. See #lsp4xml/580.

0.9.1

28 Oct 10:37
4408349
Compare
Choose a tag to compare

Bug Fixes

  • XSD: IntelliSense and element substitutions. See #186
  • Completion doesn't use file cache for included XML schema. See lsp4xml#570
  • Prevent from NPE validation with schemaLocaton and "schema.reference.4" error. See lsp4xml#569

Performance

  • Improve performance and memory for validation by caching XML Schema / DTD. See lsp4xml#534

Others

  • Reject download of resources which are not in the cache folder. Fixes CVE-2019-18212. See lsp4xml#567
  • Add xml.validation.disallowDocTypeDecl & xml.validation.resolveExternalEntities settings. Fixes CVE-2019-18213. See #187
  • Added maven info. See #148

0.7.0

17 Jun 19:22
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

0.7.0 (June 11, 2019)

Enhancements

  • Display Java runtime used to launch the server (See Output view). See lsp4xml#415.
  • Added xml.symbols.enabled preference, to enable/disable Document Symbols. See #151.
  • Added xml.java.home preference, to set the Java path. See #145.
  • File completion in attribute value. See lsp4xml#345.
  • Support for JRE's. See #152.
  • Validation when editing an XML Schema. See lsp4xml#190.
  • Added XML Prolog completion in DTD files. See lsp4xml#267.
  • Ability to rename a namespace/namespace renaming improvements. See lsp4xml#366.
  • Startup time for SVG DTD file completion was too slow. See lsp4xml#397.
  • Mark element source coming from XML Schema/DTD for completion. See lsp4xml#210.
  • Added Webpack support. See #122.

Bug Fixes

  • Memory usage improvements. See lsp4xml#389.
  • Fix completion source crash on Windows OS. See lsp4xml#408.
  • Fix error range for ETagRequired. See lsp4xml#387.
  • Fix error range for cos-all-limited.2. See lsp4xml#407.
  • Document Symbols only returns the 1st ATTLIST value. See lsp4xml#265.
  • Completion in SVG DTD file proposed duplicate completions. See #141.
  • Indentation wasn't working properly on a certain case. See #137.
  • Fix excessive autoclose calls. See #153.
  • Fixed formatting range issues. See lsp4xml#76.

0.5.1

18 Apr 15:48
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release

Bug Fixes

  • Fixed incorrect expansion of the ~ directory on Windows, for xml.server.workDir. See #125.

0.5.0

18 Apr 15:48
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Enhancements

  • More detailed completion for prolog. See lsp4xml#155.
  • Added completion for xmlns attribute. See lsp4xml#208.
  • Have value completion for xmlns:xsi. See lsp4xml#326.
  • Disabled ParentProcessWatcher on Windows. See #116.
  • Autoclose self-closing tags. See #113.
  • Don't autoclose tag if the closing tag already exists. See #113.
  • Changing the content of an XML Schema triggers validation. See lsp4xml#213.
  • Preference xml.server.workDir to set schema cache folder. See lsp4xml#222.
  • Code action to close missing quotes for attributes. See lsp4xml#137.
  • Hover for attribute value documentation from XSD's. See lsp4xml#12.
  • Autocompletion for xsi:nil values. See lsp4xml#247.

Bug Fixes

  • textDocument/publishDiagnostics failed with message: Illegal argument: line must be non-negative. See lsp4xml#157.
  • XSI completion item messages were incorrect. See lsp4xml#296.
  • Removed trailing whitespace from normalized strings on format. See lsp4xml#300.
  • Formatting an attribute without value loses data. See lsp4xml#294.
  • Fixed error range of cvc-type.3.1.2. See lsp4xml#318.
  • Fixed error range of ETagUnterminated. See lsp4xml#317.
  • Fixed error range of cvc-elt.3.2.1. See lsp4xml#321.
  • Multiple 'insert required attribute' code actions shown when multiple attributes are missing. See lsp4xml#209.
  • Self closing tag causes NPE in cvc_complex_type_2_1CodeAction.doCodeAction. See lsp4xml#339.
  • Formatting removes xml-stylesheet processing instruction attributes. See #115.
  • Prevent rejected Promise during tag autoclose call. See #117.

0.4.0

18 Apr 15:46
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

Enhancements

  • Modified schema validation messages. See #91.
  • Preference xml.format.quotations to set single vs double quotes for attribute values on format. See lsp4xml#263.
  • Preference xml.format.preserveEmptyContent to preserve a whitespace value in an element's content. See #96.
  • Compatibility with OSGi and p2. See lsp4xml#288.

Bug Fixes

  • Fixed memory leak of file handles. See #108.
  • XSI completion item messages were incorrect. See lsp4xml#296.
  • Removed trailing whitespace from normalized strings on format. See lsp4xml#300.
  • Format of attribute without value loses data. See lsp4xml#294.

0.3.0

18 Apr 15:45
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

Enhancements

  • Added ability to format DTD/DOCTYPE content. See lsp4xml#268.
  • Added outline for DTD elements. See lsp4xml#226.
  • XML completion based on internal DTD. See lsp4xml#251.
  • Add xml.validation.noGrammar preference, to indicate document won't be validated. See #89.
  • Provide automatic completion/validation in catalog files. See #204.
  • Hover for XSI attributes. See lsp4xml#164.
  • Show attribute value completion based on XML Schema/DTD. See lsp4xml#242.
  • Added xml.format.spaceBeforeEmptyCloseTag preference to insert whitespace before closing empty end-tag. See #84.
  • Completion for XSI attributes. See lsp4xml#163.
  • Changing the content of catalog.xml refreshes the catalogs and triggers validation. See lsp4xml#212.
  • Added preference to enable/disable validation xml.validation.enabled and xml.validation.schema. See #100.
  • XML completion based on external DTD. See lsp4xml#106.
  • Completion for DTD <!ELEMENT, <!ATTRIBUTE, ... . See lsp4xml#232.

Bug Fixes

  • Formatting unclosed tag would be in wrong location. See lsp4xml#269.
  • Infinite loop when < was typed into an empty DTD file. See lsp4xml#266.
  • Formatting malformed xml removed content. See #227.
  • Misplace diagnostic for cvc-elt.3.1. See #241.
  • Adjust range for DTD validation errors. See #88.
  • XML Schema completion prefix did not work in some cases. See lsp4xml#214.
  • Problems with npm run build-server on Windows. See #86.
  • XML catalog support apparently not working. See #78.
  • Formatting removes DOCTYPE's public declaration. See lsp4xml#250.
  • Adjust range error for internal DTD declaration. See lsp4xml#225.
  • Don't add sibling element when completion items is filled with grammar. See lsp4xml#211.
  • Validation needs additional <uri> catalog entry. See lsp4xml#217.
  • Support rootUri for XML catalog configuration. See lsp4xml#206.
  • CacheResourcesManager keeps trying to download unavailable resources. See lsp4xml#201.

0.2.0

18 Apr 15:44
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

Enhancements

  • Prolog completion on first line, by typing: <?xml... . See #85.
  • Documentation on hover for schema defined attributes. See #146.
  • Faster schema loading. See #159.
  • Autocompletion for XSD's. See #111.
  • Expose server VM arguments in preferences (can configure proxy). See #169.
  • Auto closing tags preference handled with conflicting preference. See #62.
  • Auto indentation when hitting enter inside an element. See #52.
  • Document Link support added. See #56.
  • Support for XSL. See #189.
  • Support for completion requests from empty character. See #112.

Bug Fixes

  • Formatting splitAttributes indentation fix. See #59.
  • XML content fully preserved on format xml.format.joinContentLines. See #152.
  • Node completion was not working in nested elements. See #66.
  • End tag completion on empty character. See #23.
  • Formatting was removing DTD content. See #198.
  • Code action to insert attribute snippet was incorrect. See #185.
  • Completion for XSD was cached too aggressively. See #194.
  • Hover doesnt work when xs:annotation is declared in type. See #182.
  • Incomplete autocompletion for xsl documents. See #165.
  • Validation of non-empty nodes required to be empty shows misplaced diagnostics. See #147.
  • Validation of empty required node shows misplaced diagnostics. See #145.
  • File association should support relative path for systemId. See #142.
  • Code completion is sometimes "one off". See #80.
  • DTD validation problems not refreshing correctly. See #79.
  • No validation when referencing a schema in the same directory. See #144.

Initial release

25 Sep 21:17
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

Features

  • Syntax error reporting
  • General code completion
  • Auto-close tags
  • Symbol highlighting
  • Document folding
  • Document symbols and outline
  • Renaming support
  • Document Formatting
  • XSD validation
  • XSD based hover
  • XSD based code completion
  • Code actions