{ "name": "xml", "displayName": "XML Tools", "description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code", "version": "1.3.3", "publisher": "DotJoshJohnson", "author": { "name": "TrueCommerce", "url": "https://github.com/TrueCommerce" }, "icon": "resources/icon.png", "galleryBanner": { "color": "#FFFFFF", "theme": "light" }, "homepage": "https://github.com/TrueCommerce/vscode-xml", "repository": { "type": "git", "url": "https://github.com/TrueCommerce/vscode-xml.git" }, "bugs": { "url": "https://github.com/TrueCommerce/vscode-xml/issues" }, "engines": { "vscode": "^0.10.6", "node": "*" }, "categories": [ "Languages", "Linters", "Other" ], "main": "./src/Extension", "contributes": { "commands": [ { "command": "xmlTools.minifyXml", "title": "XML Tools: Minify XML" }, { "command": "xmlTools.evaluateXPath", "title": "XML Tools: Evaluate XPath" }, { "command": "xmlTools.executeXQuery", "title": "XML Tools: Execute XQuery" } ], "configuration": { "title": "XML Tools Configuration", "type": "object", "properties": { "xmlTools.persistXPathQuery": { "type": "boolean", "default": true, "description": "Remember the last XPath query used." }, "xmlTools.removeCommentsOnMinify": { "type": "boolean", "default": false, "description": "Remove XML comments when XML is minified." }, "xmlTools.splitXmlnsOnFormat": { "type": "boolean", "default": true, "description": "Put each xmlns attribute on a new line when fromatting XML." }, "xmlTools.xqueryExecutionEngine": { "type": "string", "default": "", "description": "The full path to the execution engine executable." }, "xmlTools.xqueryExecutionArguments": { "type": "array", "default": ["-xquery", "$(script)", "-in", "$(input)", "-out", "$(input).output.xml"], "description": "Arguments to be passed to the execution engine. '$(script)' and '$(input)' refer to the XQuery script and input XML file, respectively." }, "xmlTools.ignoreDefaultNamespace": { "type": "boolean", "default": true, "description": "Ignores default xmlns attribute when evaluating XPath." } } }, "keybindings": [ { "key": "ctrl+shift+alt+b", "command": "xmlTools.formatXml" }, { "key": "ctrl+shift+alt+x", "command": "xmlTools.evaluateXPath" } ], "languages": [ { "id": "xquery", "aliases": ["XQuery", "xquery"], "extensions": [".xq",".xql",".xqm",".xqy",".xquery"], "configuration": "./languages/xquery/xquery.json" } ], "grammars": [ { "language": "xquery", "scopeName": "source.xquery", "path": "./languages/xquery/xquery.tmLanguage" } ] }, "activationEvents": [ "onLanguage:xml", "onLanguage:xquery", "onCommand:xmlTools.minifyXml", "onCommand:xmlTools.evaluateXPath", "onCommand:xmlTools.executeXQuery" ], "devDependencies": { "vscode": "^0.10.7", "typescript": "^1.6.2", "gulp": "^3.9.0", "gulp-shell": "^0.5.1" }, "dependencies": { "xmldom": "DotJoshJohnson/xmldom#2794915", "xpath": "^0.0.9", "xqlint": "^0.2.9" }, "scripts": { "vscode:prepublish": "tsc" } }