1.14.1 • Published 5 years ago
coc-xml v1.14.1
coc-xml
fork of vscode-xml, provides support for creating and editing XML documents, based on the LemMinX XML Language Server, running with Java.
Install
:CocInstall coc-xml
Requirements
- Java JDK (or JRE) 8 or more recent
- Ensure Java path is set in either:
xml.java.homeorjava.homeincoc-settings.json- Environment variable
JAVA_HOMEorJDK_HOME
Supported settings
The following settings are supported:
xml.java.home: Set the Java path required to run the XML Language Server. If not set, falls back to either thejava.homepreference or theJAVA_HOMEorJDK_HOMEenvironment variables.xml.trace.server: Trace the communication between coc and the XML Language Server in the Output view.xml.catalogs: Register XML catalog files.xml.codeLens.enabled: Enable/disable XML CodeLens. Defaults totrue.xml.logs.client: Enable/disable logging to the Output view.xml.fileAssociations: Associate XML Schemas to XML file patterns.xml.format.splitAttributes: Set totrueto split node attributes onto multiple lines during formatting. Defaults tofalse.xml.format.joinCDATALines: Set totrueto join lines in CDATA content during formatting. Defaults tofalse.xml.format.joinContentLines: Set totrueto join lines in node content during formatting. Defaults tofalse.xml.format.joinCommentLines: Set totrueto join lines in comments during formatting. Defaults tofalse.xml.format.preservedNewLines: Set the maximum amount of newlines between elements. Defaults to2.xml.format.preserveEmptyContent: Set totrueto preserve standalone whitespace content in an element. Defaults tofalse.xml.format.spaceBeforeEmptyCloseTag: Set totrueto insert space before the end of a self closing tag. Defaults totrue.xml.format.quotations: Set todoubleQuotesto format and only use", orsingleQuotesto format and only use'. Defaults todoubleQuotes.xml.format.enabled: Enable/disable formatting. Defaults totrue.xml.autoCloseTags.enabled: Enable/disable automatic tag closing. Defaults totrue.xml.server.vmargs: Extra VM arguments used to launch the XML Language Server. Requires coc restart.xml.validation.enabled: Set tofalseto disable all validation. Defaults totrue.xml.validation.schema: Set tofalseto disable schema validation. Defaults totrue.xml.validation.noGrammar: The message severity when a document has no associated grammar. Defaults tohint.xml.validation.disallowDocTypeDecl: Enable/disable if a fatal error is thrown if the incoming document contains a DOCTYPE declaration. Default isfalse.xml.validation.resolveExternalEntities: Enable/disable resolve of external entities. Default isfalse.xml.server.workDir: Set an absolute path for all cached schemas to be stored. Defaults to~/.lemminx.xml.symbols.enabled: Enable/disable document symbols (Outline). Default totrue.xml.symbols.excluded: Disable document symbols (Outline) for the given file name patterns. Defaults to[].
More detailed info in the vscode-xml Wiki.
Available commands
xml.updateLanguageServer: download latest version of LemMinX from repo.eclipse.orgxml.show.references: Show XML references
License
MIT
1.14.1
5 years ago
1.14.0
5 years ago
1.13.2
5 years ago
1.13.1
5 years ago
1.12.3
5 years ago
1.12.2
5 years ago
1.12.1
5 years ago
1.12.0
5 years ago
1.11.1
6 years ago
1.11.0
6 years ago
1.10.1
6 years ago
1.10.0
6 years ago
1.9.5
6 years ago
1.9.4
6 years ago
1.9.3
6 years ago
1.9.2
6 years ago
1.9.1
6 years ago
1.6.9
6 years ago
1.6.1
6 years ago
1.6.0
6 years ago
1.5.0
6 years ago
1.4.0
6 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago