vscode-xml/package.json
Josh Johnson 08c81f7d16 Make XMLNS Split Optional
New setting: xmlTools.slpitXmlnsOnFormat
2016-01-08 09:19:27 -05:00

94 lines
2.3 KiB
JSON

{
"name": "xml",
"displayName": "XML Tools",
"description": "XML Formatting and XPath Tools for Visual Studio Code",
"version": "1.0.0",
"publisher": "DotJoshJohnson",
"author": {
"name": "Josh Johnson",
"url": "https://github.com/DotJoshJohnson"
},
"icon": "resources/icon.png",
"galleryBanner": {
"color": "#3B4859",
"theme": "dark"
},
"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"
},
"engines": {
"vscode": "^0.10.6",
"node": "*"
},
"categories": [
"Languages",
"Other"
],
"main": "./src/Extension",
"contributes": {
"commands": [
{
"command": "xmlTools.formatXml",
"title": "XML Tools: Format XML"
},
{
"command": "xmlTools.minifyXml",
"title": "XML Tools: Minify XML"
},
{
"command": "xmlTools.evaluateXPath",
"title": "XML Tools: Evaluate XPath"
}
],
"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."
}
}
},
"keybindings": [
{
"key": "ctrl+shift+alt+b",
"command": "xmlTools.formatXml"
},
{
"key": "ctrl+shift+alt+x",
"command": "xmlTools.evaluateXPath"
}
]
},
"activationEvents": [
"onLanguage:xml"
],
"devDependencies": {
"vscode": "^0.10.7",
"typescript": "^1.6.2"
},
"dependencies": {
"xmldom": "DotJoshJohnson/xmldom#2794915",
"xpath": "^0.0.9"
},
"scripts": {
"vscode:prepublish": "tsc"
}
}