about summary refs log tree commit diff
path: root/editors/code/src/main.ts
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-05-11 16:15:31 +0200
committerJonas Schievink <jonasschievink@gmail.com>2021-05-11 16:15:31 +0200
commita85a2c4d151d9d2e8fb016d76aad99a6ca88bc75 (patch)
tree636c0727298fd9d60a7b2a639c49dca8ba73d813 /editors/code/src/main.ts
parent9fa9d166d8141bb9ca4fcf0544c49b903fb85e09 (diff)
downloadrust-a85a2c4d151d9d2e8fb016d76aad99a6ca88bc75.tar.gz
rust-a85a2c4d151d9d2e8fb016d76aad99a6ca88bc75.zip
Allow viewing the crate graph in a webview
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r--editors/code/src/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts
index 643fb643f3a..516322d035d 100644
--- a/editors/code/src/main.ts
+++ b/editors/code/src/main.ts
@@ -106,6 +106,7 @@ async function tryActivate(context: vscode.ExtensionContext) {
     ctx.registerCommand('parentModule', commands.parentModule);
     ctx.registerCommand('syntaxTree', commands.syntaxTree);
     ctx.registerCommand('viewHir', commands.viewHir);
+    ctx.registerCommand('viewCrateGraph', commands.viewCrateGraph);
     ctx.registerCommand('expandMacro', commands.expandMacro);
     ctx.registerCommand('run', commands.run);
     ctx.registerCommand('copyRunCommandLine', commands.copyRunCommandLine);