Releases: redhat-developer/vscode-xml
Releases · redhat-developer/vscode-xml
0.12.0
Enhancements
- Add
xml.format.preserveAttributeLineBreaks
setting. See #271 - Missing Java now links to adoptopenjdk.net, for Mac Users. See #270
- Don't return hover when there's no documentation. See #258
- Improve formatting for processing instructions. See #240
- Provide
xml.symbols.maxItemsComputed
setting for outline. See #237 - Formatter expand/collapse/ignore empty XML tags. See #219
- Completion for
xsd:enumeration
inside of text node. See #218 - Formatting of newlines at EOF. See #196
- Disable cdata autocompletion when typing period. See #179
- Provide more server/build info on startup. See lemminx#755
- Add support for
textDocument/documentLink
for xs:import/schemaLocation. See lemminx#733 - Add support for
textDocument/documentLink
for xml-model/href. See lemminx#712 - Find definition for external declared entity. See lemminx#706
- Snippet to generate xml-model. See lemminx#699
- XML Completion based on DTD/XML Schema by using xml-model . See lemminx#698
- Validate XML with DTD/XML Schema by using xml-model. See lemminx#697
- Create hyperlink to DTD source on hover. See lemminx#693
- Add support for
textDocument/documentLink
for xs:include/schemaLocation. See #689 - Validate XML with DTD/XML Schema by using xml-model. See lemminx#688
- Remove spacing when formatting processing instruction. See lemminx#670
- Hover for referenced entities. See lemminx#663
- Completion for external declared entity. See lemminx#660
- Insert final newline depending on lsp4j formatting settings. See lemminx#649
- Hyperlink to open declared DTD files. See lemminx#641
- Manage snippet registry to write snippet in JSON. Adds new snippets. See lemminx#640
- Separate xsd:documentation and xsd:appinfo contents on hover and completion. See lemminx#630
- Find definition for locally declared entity. See lemminx#625
- CodeActions for RootElementTypeMustMatchDoctypedecl. See lemminx#561
- CodeAction for EntityNotDeclared. See lemminx#532
- Completion for locally declared entity. See lemminx#520
Bug Fixes
- Don't set the -noverify flag on startup. See #259
- XML entities declared in a DTD are marked undeclared after XML file change. See #234
- Formatting breaks attributes containing quotes. See #182
- Too many logs after completion, hover with XML that contains DTD subset. See lemminx#750
- Fix collection of external entities depending on line ending. See lemminx#744
- No entity completion for externally declared SYSTEM and PUBLIC entities. See lemminx#742
- Entity documentation has no value for entities declared with SYSTEM OR PUBLIC. See lemminx#741
- Error while loading DOCTYPE subset : java.lang.NullPointerException. See lemminx#739
- NPE in ContentModelCompletionParticipant.addCompletionItem. See lemminx#720
- NPE in XMLCompletions collectAttributeNameSuggestions(). See lemminx#719
- Support advanced characters for entity name. See lemminx#718
- Fix error range TargetNamespace.1. See lemminx#704
- Fix error range TargetNamespace.2. See lemminx#703
- Fix cache result of external grammar info. See lemminx#696
- Read the cached XSD, DTD grammar file with lazy mode. See lemminx#687
- NPE with Codelens in empty XSD file. See lemminx#684
- Range formatting inserts
<null>
when formatting inside DOCTYPE element. See lemminx#682 - NPE in ContentModelCodeActionParticipant.doCodeAction#L47. See lemminx#671
- Fix error range for
SemicolonRequiredInReference
. See lemminx#664 - Don't generate end element on apply completion if it exists. See lemminx#651
- Quickfix to close open tag doesn't deal with attributes. See lemminx#646
- NPE with TypeDefinition. See lemminx#629
- MSG_ATTRIBUTE_NOT_DECLARED must highlight attribute name instead of attribute value. See lemminx#623
Build
0.11.0
Enhancements
- Switched XML Language server from lsp4xml to Eclipse LemMinX. See lemminx#283
Bug Fixes
- Enumeration documentation is not displayed. See lemminx#233
- XSD download fails in recent versions. See #226
- Gracefully handle cancelled
xml/closeTag
requests. See #149 - NPE when typing <?. See lemminx#614
- NPE when document contains an empty tag. See lemminx#613
- In Maven , all known XML elements from schema are suggested as completion. See lemminx#612
- UTF-16 not supported. See lemminx#611
0.10.1
0.10.0
Enhancements
- (Experimental) Ability to edit start/end tag simultaneously under
xml.mirrorCursorOnMatchingTag
preference. Can be toggled on/off on Windows/Linux throughctrl+shift+f2
and on Maccmd+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
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
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
0.5.0
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
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
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
andxml.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.