parent
0b892f6f03
commit
751e7a7e07
132
package.json
132
package.json
@ -68,58 +68,160 @@
|
|||||||
"title": "XML Tools Configuration",
|
"title": "XML Tools Configuration",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"xmlTools.core.useNewSettings": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"description": "Enables use of the new 'nested' settings instead of the current 'flattened' settings."
|
||||||
|
},
|
||||||
|
"xmlTools.formatter.addSpaceBeforeSelfClose": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Ensures a space exists before the '/>' in self-closing tags.",
|
||||||
|
"scope": "resource"
|
||||||
|
},
|
||||||
|
"xmlTools.formatter.implementation": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "v2",
|
||||||
|
"description": "Defines the XML formatter implementation used for formatting and minification.",
|
||||||
|
"enum": [
|
||||||
|
"classic",
|
||||||
|
"v2"
|
||||||
|
],
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.formatter.splitAttributes": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"description": "Places each attribute (except the first) on a new line. Includes xmlns attributes.",
|
||||||
|
"scope": "resource"
|
||||||
|
},
|
||||||
|
"xmlTools.formatter.splitXmlnsAttributes": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"description": "Places each xmlns attribute on a new line.",
|
||||||
|
"scope": "resource"
|
||||||
|
},
|
||||||
|
"xmlTools.formatter.stripCommentsOnMinify": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"description": "Removes comments from XML during minification.",
|
||||||
|
"scope": "resource"
|
||||||
|
},
|
||||||
|
"xmlTools.treeView.enabled": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Enables the XML Tree View feature.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.treeView.showMetadata": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Displays attributes such as 'children' and 'attributes' counts in the XML tree view.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.treeView.syncCursor": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false,
|
||||||
|
"description": "Reveals an element or atribute in the tree view when clicked in the editor.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.xpath.ignoreDefaultNamespace": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Ignores default xmlns attributes.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.xpath.rememberLastQuery": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Remembers the last query you executed for the current file.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.xquery.executable": {
|
||||||
|
"type": "string",
|
||||||
|
"default": true,
|
||||||
|
"description": "The full path to the executable to use for executing scripts.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.xquery.executableArgs": {
|
||||||
|
"type": "array",
|
||||||
|
"default": [
|
||||||
|
"-xquery",
|
||||||
|
"$(script)",
|
||||||
|
"-in",
|
||||||
|
"$(input)",
|
||||||
|
"-out",
|
||||||
|
"$(input).output.xml"
|
||||||
|
],
|
||||||
|
"description": "Command-line arguments to pass to the executable.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.xquery.inputFileLimit": {
|
||||||
|
"type": "integer",
|
||||||
|
"default": 100,
|
||||||
|
"description": "The maximum number of input files to enumerate.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
"xmlTools.xquery.inputFileSearchPattern": {
|
||||||
|
"type": "string",
|
||||||
|
"default": "**/*.xml",
|
||||||
|
"description": "The pattern used to search for input XML files.",
|
||||||
|
"scope": "application"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
"xmlTools.enableXmlTreeView": {
|
"xmlTools.enableXmlTreeView": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Enables the XML Document view in the explorer for XML documents.",
|
"description": "Deprecated. Use 'xmlTools.treeView.enabled' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.enableXmlTreeViewMetadata": {
|
"xmlTools.enableXmlTreeViewMetadata": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Enables attribute and child element counts in the XML Document view.",
|
"description": "Deprecated. Use 'xmlTools.treeView.showMetadata' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.enableXmlTreeViewCursorSync": {
|
"xmlTools.enableXmlTreeViewCursorSync": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Enables auto-reveal of elements in the XML Document view when a start tag is clicked in the editor.",
|
"description": "Deprecated. Use 'xmlTools.treeView.syncCursor' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.enforcePrettySelfClosingTagOnFormat": {
|
"xmlTools.enforcePrettySelfClosingTagOnFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Enforces a space before the forward slash at the end of a self-closing XML tag.",
|
"description": "Deprecated. Use 'xmlTools.formatter.addSpaceBeforeSelfClose' instead.",
|
||||||
"scope": "resource"
|
"scope": "resource"
|
||||||
},
|
},
|
||||||
"xmlTools.ignoreDefaultNamespace": {
|
"xmlTools.ignoreDefaultNamespace": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Ignore default xmlns attributes when evaluating XPath.",
|
"description": "Deprecated. Use 'xmlTools.xpath.ignoreDefaultNamespace' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.persistXPathQuery": {
|
"xmlTools.persistXPathQuery": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Remember the last XPath query used.",
|
"description": "Deprecated. Use 'xmlTools.xpath.rememberLastQuery' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.removeCommentsOnMinify": {
|
"xmlTools.removeCommentsOnMinify": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Remove XML comments during minification.",
|
"description": "Deprecated. Use 'xmlTools.formatter.removeCommentsOnMinify' instead.",
|
||||||
"scope": "resource"
|
"scope": "resource"
|
||||||
},
|
},
|
||||||
"xmlTools.splitAttributesOnFormat": {
|
"xmlTools.splitAttributesOnFormat": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "Put each attribute on a new line when formatting XML. Overrides `xmlTools.splitXmlsOnFormat` if set to `true`.",
|
"description": "Deprecated. Use 'xmlTools.formatter.splitAttributes' instead.",
|
||||||
"scope": "resource"
|
"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": "Deprecated. Use 'xmlTools.formatter.splitXmlnsAttributes' instead.",
|
||||||
"scope": "resource"
|
"scope": "resource"
|
||||||
},
|
},
|
||||||
"xmlTools.xmlFormatterImplementation": {
|
"xmlTools.xmlFormatterImplementation": {
|
||||||
@ -129,7 +231,7 @@
|
|||||||
"v2"
|
"v2"
|
||||||
],
|
],
|
||||||
"default": "v2",
|
"default": "v2",
|
||||||
"description": "Supported XML Formatters: classic",
|
"description": "Deprecated. Use 'xmlTools.formatter.implementation' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.xqueryExecutionArguments": {
|
"xmlTools.xqueryExecutionArguments": {
|
||||||
@ -140,27 +242,27 @@
|
|||||||
"-in",
|
"-in",
|
||||||
"$(input)",
|
"$(input)",
|
||||||
"-out",
|
"-out",
|
||||||
"$(input.output.xml"
|
"$(input).output.xml"
|
||||||
],
|
],
|
||||||
"description": "Arguments to be passed to the XQuery execution engine.",
|
"description": "Deprecated. Use 'xmlTools.xquery.executableArgs' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.xqueryExecutionEngine": {
|
"xmlTools.xqueryExecutionEngine": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "The full path to the executable to run when executing XQuery scripts.",
|
"description": "Deprecated. Use 'xmlTools.xquery.executable' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.xqueryExecutionInputLimit": {
|
"xmlTools.xqueryExecutionInputLimit": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 100,
|
"default": 100,
|
||||||
"description": "The maximum number of input files to enumerate when executing XQuery scripts.",
|
"description": "Deprecated. Use 'xmlTools.xquery.inputFileLimit' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
},
|
},
|
||||||
"xmlTools.xqueryExecutionInputSearchPattern": {
|
"xmlTools.xqueryExecutionInputSearchPattern": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "**/*.xml",
|
"default": "**/*.xml",
|
||||||
"description": "The pattern used to search for input XML files when executing XQuery scripts.",
|
"description": "Deprecated. Use 'xmlTools.xquery.inputFileSearchPattern' instead.",
|
||||||
"scope": "window"
|
"scope": "window"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user