Fix #23
This commit is contained in:
parent
959513cb80
commit
41bf728061
2 changed files with 6 additions and 1 deletions
|
@ -114,7 +114,11 @@
|
||||||
},
|
},
|
||||||
"activationEvents": [
|
"activationEvents": [
|
||||||
"onLanguage:xml",
|
"onLanguage:xml",
|
||||||
"onLanguage:xquery"
|
"onLanguage:xquery",
|
||||||
|
"onCommand:xmlTools.formatXml",
|
||||||
|
"onCommand:xmlTools.minifyXml",
|
||||||
|
"onCommand:xmlTools.evaluateXPath",
|
||||||
|
"onCommand:xmlTools.executeXQuery"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vscode": "^0.10.7",
|
"vscode": "^0.10.7",
|
||||||
|
|
|
@ -14,6 +14,7 @@ const LANG_XQUERY: string = 'xquery;'
|
||||||
const MEM_QUERY_HISTORY: string = 'xpathQueryHistory';
|
const MEM_QUERY_HISTORY: string = 'xpathQueryHistory';
|
||||||
|
|
||||||
export function activate(ctx: vsc.ExtensionContext) {
|
export function activate(ctx: vsc.ExtensionContext) {
|
||||||
|
console.log('activate extension');
|
||||||
// expose global and workspace state to the entire extension
|
// expose global and workspace state to the entire extension
|
||||||
GlobalState = ctx.globalState;
|
GlobalState = ctx.globalState;
|
||||||
WorkspaceState = ctx.workspaceState;
|
WorkspaceState = ctx.workspaceState;
|
||||||
|
|
Loading…
Add table
Reference in a new issue