From 2b153d5564db052f33f6a0d1496bae93c65e09df Mon Sep 17 00:00:00 2001 From: chanhx Date: Sun, 24 Sep 2023 21:55:34 +0800 Subject: [PATCH] [vscode] v0.2.0 --- editors/code/CHANGELOG.md | 12 +++++++++--- editors/code/package-lock.json | 4 ++-- editors/code/package.json | 19 ++++++++++++++++++- 3 files changed, 29 insertions(+), 6 deletions(-) diff --git a/editors/code/CHANGELOG.md b/editors/code/CHANGELOG.md index 95a6a24..d907e5e 100644 --- a/editors/code/CHANGELOG.md +++ b/editors/code/CHANGELOG.md @@ -1,13 +1,19 @@ # Change Log -## 0.1.1 (2023.6.17) +## 0.2.0 (2023.9.24) -### Fixed +### Features -* Focus won't get cleared when dragging the graph +* Export call graph ## 0.1.2 (2023.9.7) ### Fixed * Edges are not rendered for some languages or certain calls + +## 0.1.1 (2023.6.17) + +### Fixed + +* Focus won't get cleared when dragging the graph diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json index 4f66cd8..af5abcf 100644 --- a/editors/code/package-lock.json +++ b/editors/code/package-lock.json @@ -1,12 +1,12 @@ { "name": "crabviz", - "version": "0.1.2", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "crabviz", - "version": "0.1.2", + "version": "0.2.0", "dependencies": { "@hpcc-js/wasm": "^1.20.1", "vscode-languageserver-types": "^3.17.3" diff --git a/editors/code/package.json b/editors/code/package.json index 40a192f..98dc15a 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -2,7 +2,7 @@ "name": "crabviz", "displayName": "Crabviz", "description": "interactive call graph generator", - "version": "0.1.2", + "version": "0.2.0", "publisher": "chanhx", "author": { "name": "Chan HoCheung" @@ -23,11 +23,18 @@ ], "activationEvents": [], "main": "./dist/extension.js", + "enabledApiProposals": [ + "contribWebviewContext" + ], "contributes": { "commands": [ { "command": "crabviz.generateCallGraph", "title": "Crabviz: Generate Call Graph" + }, + { + "command": "crabviz.exportCallGraph", + "title": "Export Call Graph" } ], "menus": { @@ -35,6 +42,10 @@ { "command": "crabviz.generateCallGraph", "when": "never" + }, + { + "command": "crabviz.exportCallGraph", + "when": "never" } ], "explorer/context": [ @@ -42,6 +53,12 @@ "command": "crabviz.generateCallGraph", "group": "crabviz" } + ], + "webview/context": [ + { + "command": "crabviz.exportCallGraph", + "when": "webviewId == 'crabviz.callgraph'" + } ] } },