npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

coc-xml

v1.14.1

Published

XML extension for coc.nvim

Downloads

517

Readme

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.home or java.home in coc-settings.json
    • Environment variable JAVA_HOME or JDK_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 the java.home preference or the JAVA_HOME or JDK_HOME environment 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 to true.
  • xml.logs.client : Enable/disable logging to the Output view.
  • xml.fileAssociations : Associate XML Schemas to XML file patterns.
  • xml.format.splitAttributes : Set to true to split node attributes onto multiple lines during formatting. Defaults to false.
  • xml.format.joinCDATALines : Set to true to join lines in CDATA content during formatting. Defaults to false.
  • xml.format.joinContentLines : Set to true to join lines in node content during formatting. Defaults to false.
  • xml.format.joinCommentLines : Set to true to join lines in comments during formatting. Defaults to false.
  • xml.format.preservedNewLines: Set the maximum amount of newlines between elements. Defaults to 2.
  • xml.format.preserveEmptyContent: Set to true to preserve standalone whitespace content in an element. Defaults to false.
  • xml.format.spaceBeforeEmptyCloseTag: Set to true to insert space before the end of a self closing tag. Defaults to true.
  • xml.format.quotations: Set to doubleQuotes to format and only use ", or singleQuotes to format and only use '. Defaults to doubleQuotes.
  • xml.format.enabled : Enable/disable formatting. Defaults to true.
  • xml.autoCloseTags.enabled : Enable/disable automatic tag closing. Defaults to true.
  • xml.server.vmargs: Extra VM arguments used to launch the XML Language Server. Requires coc restart.
  • xml.validation.enabled: Set to false to disable all validation. Defaults to true.
  • xml.validation.schema: Set to false to disable schema validation. Defaults to true.
  • xml.validation.noGrammar: The message severity when a document has no associated grammar. Defaults to hint.
  • xml.validation.disallowDocTypeDecl: Enable/disable if a fatal error is thrown if the incoming document contains a DOCTYPE declaration. Default is false.
  • xml.validation.resolveExternalEntities: Enable/disable resolve of external entities. Default is false.
  • 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 to true.
  • 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.org
  • xml.show.references: Show XML references

License

MIT