MCPcopy Index your code
hub / github.com/DotJoshJohnson/vscode-xml

github.com/DotJoshJohnson/vscode-xml @v2.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.5.1 ↗ · + Follow
134 symbols 258 edges 38 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

XML Tools for Visual Studio Code

Visual Studio Marketplace Visual Studio Marketplace

Beerpay

Features

Requirements

  • VS Code 1.22.2 or higher

Extension Settings

  • xmlTools.enableXmlTreeView: Enables the XML Tree View for XML documents.
  • xmlTools.enableXmlTreeViewMetadata: Enables attribute and child element counts in the XML Document view.
  • xmlTools.enableXmlTreeViewCursorSync: Enables auto-reveal of elements in the XML Document view when a start tag is clicked in the editor.
  • xmlTools.enforcePrettySelfClosingTagOnFormat: Ensures a space is added before the forward slash at the end of a self-closing tag.
  • xmlTools.ignoreDefaultNamespace: Ignore default xmlns attributes when evaluating XPath.
  • xmlTools.persistXPathQuery: Remember the last XPath query used.
  • xmlTools.removeCommentsOnMinify: Remove XML comments during minification.
  • xmlTools.splitAttributesOnFormat: Put each attribute on a new line when formatting XML. Overrides xmlTools.splitXmlnsOnFormat if set to true. (V2 Formatter Only)
  • xmlTools.splitXmlnsOnFormat: Put each xmlns attribute on a new line when formatting XML.
  • xmlTools.xmlFormatterImplementation: Supported XML Formatters: classic, v2.
  • xmlTools.xqueryExecutionArguments: Arguments to be passed to the XQuery execution engine.
  • xmlTools.xqueryExecutionEngine: The full path to the executable to run when executing XQuery scripts.

Release Notes

Detailed release notes are available here.

Issues

Run into a bug? Report it here.

Icon Credits

Icons used in the XML Tree View are used under the Creative Commons 3.0 BY license. * "Code" icon by Dave Gandy from www.flaticon.com * "At" icon by FreePik from www.flaticon.com

Extension points exported contracts — how you extend this code

XmlFormatter (Interface)
(no doc) [4 implementers]
src/formatting/xml-formatter.ts
XmlFormattingOptions (Interface)
(no doc)
src/formatting/xml-formatting-options.ts

Core symbols most depended-on inside this repo

isElement
called by 10
src/common/xml-traverser.ts
_getForWindow
called by 10
src/common/configuration.ts
_getIndent
called by 9
src/formatting/formatters/v2-xml-formatter.ts
_getIndent
called by 8
src/formatting/formatters/classic-xml-formatter.ts
getChildElementArray
called by 5
src/common/xml-traverser.ts
load
called by 4
src/test/test-utils/test-data-loader.ts
_refreshTree
called by 4
src/tree-view/xml-tree-data-provider.ts
getChildAttributeArray
called by 4
src/common/xml-traverser.ts

Shape

Method 76
Class 40
Function 15
Interface 2
Enum 1

Languages

TypeScript100%

Modules by API surface

src/common/configuration.ts18 symbols
src/common/xml-traverser.ts17 symbols
src/formatting/formatters/v2-xml-formatter.ts13 symbols
src/tree-view/xml-tree-data-provider.ts10 symbols
src/xpath/xpath-evaluator.ts9 symbols
src/formatting/xml-formatter.ts6 symbols
src/formatting/formatters/classic-xml-formatter.ts6 symbols
src/xpath/xpath-builder.ts5 symbols
src/formatting/xml-formatting-edit-provider.ts5 symbols
src/extension.ts5 symbols
src/common/native-commands.ts5 symbols
src/common/extension-state.ts5 symbols

For agents

$ claude mcp add vscode-xml \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page