2018-01-27 22:50:50 +00:00
|
|
|
{
|
|
|
|
"name": "xml",
|
|
|
|
"displayName": "XML Tools",
|
|
|
|
"description": "XML Formatting, XQuery, and XPath Tools for Visual Studio Code",
|
2018-01-27 23:30:50 +00:00
|
|
|
"version": "2.0.0",
|
2018-01-27 22:50:50 +00:00
|
|
|
"publisher": "DotJoshJohnson",
|
2018-01-27 23:30:50 +00:00
|
|
|
"author": {
|
|
|
|
"name": "Josh Johnson",
|
|
|
|
"url": "https://github.com/DotJoshJohnson"
|
|
|
|
},
|
|
|
|
"galleryBanner": {
|
|
|
|
"color": "#FFFFFF",
|
|
|
|
"theme": "light"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/DotJoshJohnson/vscode-xml",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/DotJoshJohnson/vscode-xml.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/DotJoshJohnson/vscode-xml/issues"
|
|
|
|
},
|
2018-01-27 22:50:50 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.19.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
2018-01-27 23:30:50 +00:00
|
|
|
"Formatters",
|
|
|
|
"Languages",
|
|
|
|
"Linters",
|
2018-01-27 22:50:50 +00:00
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
2018-01-27 23:30:50 +00:00
|
|
|
"onCommand:xmlTools.evaluateXPath",
|
|
|
|
"onCommand:xmlTools.executeXQuery",
|
|
|
|
"onCommand:xmlTools.formatAsXml",
|
|
|
|
"onCommand:xmlTools.minifyXml",
|
|
|
|
"onLanguage:xml",
|
|
|
|
"onLanguage:xquery",
|
|
|
|
"onLanguage:xsl"
|
2018-01-27 22:50:50 +00:00
|
|
|
],
|
|
|
|
"main": "./out/extension",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
2018-01-27 23:30:50 +00:00
|
|
|
"command": "xmlTools.evaluateXPath",
|
|
|
|
"title": "XML Tools: Evaluate XPath"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "xmlTools.executeXQuery",
|
|
|
|
"title": "XML Tools: Execute XQuery"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "xmlTools.formatAsXml",
|
|
|
|
"title": "XML Tools: Format as XML"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "xmlTools.minifyXml",
|
|
|
|
"title": "XML Tools: Minify XML"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"configuration": {
|
|
|
|
"title": "XML Tools Configuration",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"xmlTools.ignoreDefaultNamespace": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Ignore default xmlns attributes when evaluating XPath."
|
|
|
|
},
|
|
|
|
"xmlTools.persistXPathQuery": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Remember the last XPath query used."
|
|
|
|
},
|
|
|
|
"xmlTools.removeCommentsOnMinify": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"description": "Remove XML comments during minification."
|
|
|
|
},
|
|
|
|
"xmlTools.splitXmlnsOnFormat": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Put each xmlns attribute on a new line when formatting XML."
|
|
|
|
},
|
|
|
|
"xmlTools.xqueryExecutionArguments": {
|
|
|
|
"type": "array",
|
|
|
|
"default": ["-xquery", "$(script)", "-in", "$(input)", "-out", "$(input.output.xml"],
|
|
|
|
"description": "Arguments to be passed to the XQuery execution engine."
|
|
|
|
},
|
|
|
|
"xmlTools.xqueryExecutionEngine": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"description": "The full path to the executable to run when executing XQuery scripts."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "xquery",
|
|
|
|
"path": "./languages/xquery/xquery.tmLanguage",
|
|
|
|
"scopeName": "source.xquery"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"key": "ctrl+shift+alt+x",
|
|
|
|
"command": "xmlTools.evaluateXPath"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+shift+alt+b",
|
|
|
|
"command": "xmlTools.formatXml"
|
2018-01-27 22:50:50 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run compile",
|
2018-01-27 23:01:04 +00:00
|
|
|
"compile": "npm run lint && tsc -p ./",
|
2018-01-27 22:50:50 +00:00
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
2018-01-27 23:01:04 +00:00
|
|
|
"test": "npm run compile && node ./node_modules/vscode/bin/test",
|
|
|
|
"lint": "tslint -p tslint.json --fix"
|
2018-01-27 22:50:50 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-01-27 23:01:04 +00:00
|
|
|
"@types/mocha": "^2.2.42",
|
2018-01-27 22:50:50 +00:00
|
|
|
"@types/node": "^7.0.43",
|
2018-01-27 23:01:04 +00:00
|
|
|
"tslint": "^5.9.1",
|
|
|
|
"typescript": "^2.6.1",
|
|
|
|
"vscode": "^1.1.6"
|
2018-01-27 22:50:50 +00:00
|
|
|
}
|
|
|
|
}
|