Merge 9d09d633e8
into c828608867
This commit is contained in:
commit
56bd416270
1 changed files with 91 additions and 69 deletions
30
package.json
30
package.json
|
@ -77,13 +77,25 @@
|
||||||
},
|
},
|
||||||
"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 execution engine. '$(script)' and '$(input)' refer to the XQuery script and input XML file, respectively."
|
"description": "Arguments to be passed to the execution engine. '$(script)' and '$(input)' refer to the XQuery script and input XML file, respectively."
|
||||||
},
|
},
|
||||||
"xmlTools.ignoreDefaultNamespace": {
|
"xmlTools.ignoreDefaultNamespace": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Ignores default xmlns attribute when evaluating XPath."
|
"description": "Ignores default xmlns attribute when evaluating XPath."
|
||||||
|
},
|
||||||
|
"xmlTools.treeViewEnabled": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"description": "Enable the XML Tree (XML Document) custom view."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -100,8 +112,17 @@
|
||||||
"languages": [
|
"languages": [
|
||||||
{
|
{
|
||||||
"id": "xquery",
|
"id": "xquery",
|
||||||
"aliases": ["XQuery", "xquery"],
|
"aliases": [
|
||||||
"extensions": [".xq",".xql",".xqm",".xqy",".xquery"],
|
"XQuery",
|
||||||
|
"xquery"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".xq",
|
||||||
|
".xql",
|
||||||
|
".xqm",
|
||||||
|
".xqy",
|
||||||
|
".xquery"
|
||||||
|
],
|
||||||
"configuration": "./languages/xquery/xquery.json"
|
"configuration": "./languages/xquery/xquery.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -116,7 +137,8 @@
|
||||||
"explorer": [
|
"explorer": [
|
||||||
{
|
{
|
||||||
"id": "xmlTreeView",
|
"id": "xmlTreeView",
|
||||||
"name": "XML Document"
|
"name": "XML Document",
|
||||||
|
"when": "resourceLangId == 'xml' && config.xmlTools.treeViewEnabled != false"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue