aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-08 11:53:20 +0100
committerGitHub <[email protected]>2021-06-08 11:53:20 +0100
commit6c9362d61b895c11b1d0cf6837ada9f2a0a30eaf (patch)
treed9315fd0c5af67800b456b4e124d0d987704c25a /editors/code/src
parent590472607c9629fdd37e3f6f33dacfdc2a3f56cc (diff)
parentb8eeef4dfa7ea9609da24e3e674e919470914d75 (diff)
Merge #9153
9153: QOL: VSCode status bar icon on click now shows server status r=matklad a=Milo123459 Now, when you click the little status bar text, it will automatically reload the server. I don't think I've ever seen anyone click it randomly, and, it's there to save you a few clicks. Co-authored-by: Milo <[email protected]>
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/ctx.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts
index cf67dd8cf..2ffd3be6f 100644
--- a/editors/code/src/ctx.ts
+++ b/editors/code/src/ctx.ts
@@ -39,6 +39,7 @@ export class Ctx {
39 extCtx.subscriptions.push(statusBar); 39 extCtx.subscriptions.push(statusBar);
40 statusBar.text = "rust-analyzer"; 40 statusBar.text = "rust-analyzer";
41 statusBar.tooltip = "ready"; 41 statusBar.tooltip = "ready";
42 statusBar.command = "rust-analyzer.analyzerStatus";
42 statusBar.show(); 43 statusBar.show();
43 44
44 const res = new Ctx(config, extCtx, client, serverPath, statusBar); 45 const res = new Ctx(config, extCtx, client, serverPath, statusBar);