From 377ee9d3335216086a4d9cdbdeff9a803ea2815a Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Tue, 29 Jan 2019 17:08:02 +0000 Subject: Start the extension when rust-analyzer status is run --- editors/code/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index 05c67d822..506137d1d 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -44,7 +44,9 @@ "vscode": "^1.1.26" }, "activationEvents": [ - "onLanguage:rust" + "onLanguage:rust", + "onCommand:rust-analyzer.analyzerStatus", + "onCommand:rust-analyzer.collectGarbage" ], "main": "./out/extension", "contributes": { -- cgit v1.2.3