Scope Commands to Resource

From PR #129.

#128
This commit is contained in:
Josh Johnson 2018-01-27 20:43:29 -05:00
parent bedb878549
commit a204434a6e

View file

@ -65,37 +65,44 @@
"xmlTools.ignoreDefaultNamespace": { "xmlTools.ignoreDefaultNamespace": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Ignore default xmlns attributes when evaluating XPath." "description": "Ignore default xmlns attributes when evaluating XPath.",
"scope": "resource"
}, },
"xmlTools.persistXPathQuery": { "xmlTools.persistXPathQuery": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Remember the last XPath query used." "description": "Remember the last XPath query used.",
"scope": "resource"
}, },
"xmlTools.removeCommentsOnMinify": { "xmlTools.removeCommentsOnMinify": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "Remove XML comments during minification." "description": "Remove XML comments during minification.",
"scope": "resource"
}, },
"xmlTools.splitXmlnsOnFormat": { "xmlTools.splitXmlnsOnFormat": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,
"description": "Put each xmlns attribute on a new line when formatting XML." "description": "Put each xmlns attribute on a new line when formatting XML.",
"scope": "resource"
}, },
"xmlTools.xmlFormatterImplementation": { "xmlTools.xmlFormatterImplementation": {
"type": "string", "type": "string",
"default": "classic", "default": "classic",
"description": "Supported XML Formatters: classic" "description": "Supported XML Formatters: classic",
"scope": "resource"
}, },
"xmlTools.xqueryExecutionArguments": { "xmlTools.xqueryExecutionArguments": {
"type": "array", "type": "array",
"default": ["-xquery", "$(script)", "-in", "$(input)", "-out", "$(input.output.xml"], "default": ["-xquery", "$(script)", "-in", "$(input)", "-out", "$(input.output.xml"],
"description": "Arguments to be passed to the XQuery execution engine." "description": "Arguments to be passed to the XQuery execution engine.",
"scope": "resource"
}, },
"xmlTools.xqueryExecutionEngine": { "xmlTools.xqueryExecutionEngine": {
"type": "string", "type": "string",
"default": "", "default": "",
"description": "The full path to the executable to run when executing XQuery scripts." "description": "The full path to the executable to run when executing XQuery scripts.",
"scope": "resource"
} }
} }
}, },