diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-21 18:37:37 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-21 18:37:37 +0000 |
commit | e86344745e29ba812c9c2d7502a2365d22ef9a64 (patch) | |
tree | 04d0a52cffa6879f33a35ba2dbae5e663f9136b0 /editors/code/src | |
parent | e4f922a74d66153ac099ad909e0ea5151292b8a5 (diff) | |
parent | 1da99a79d9c2344175869644c1064049e7655281 (diff) |
Merge #6988
6988: Remove outdated FIXME r=lnicola a=lnicola
bors r+
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'editors/code/src')
-rw-r--r-- | editors/code/src/main.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 4eaaed62b..a763194d6 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -19,9 +19,8 @@ let ctx: Ctx | undefined; | |||
19 | const RUST_PROJECT_CONTEXT_NAME = "inRustProject"; | 19 | const RUST_PROJECT_CONTEXT_NAME = "inRustProject"; |
20 | 20 | ||
21 | export async function activate(context: vscode.ExtensionContext) { | 21 | export async function activate(context: vscode.ExtensionContext) { |
22 | // For some reason vscode not always shows pop-up error notifications | 22 | // VS Code doesn't show a notification when an extension fails to activate |
23 | // when an extension fails to activate, so we do it explicitly by ourselves. | 23 | // so we do it ourselves. |
24 | // FIXME: remove this bit of code once vscode fixes this issue: https://github.com/microsoft/vscode/issues/101242 | ||
25 | await tryActivate(context).catch(err => { | 24 | await tryActivate(context).catch(err => { |
26 | void vscode.window.showErrorMessage(`Cannot activate rust-analyzer: ${err.message}`); | 25 | void vscode.window.showErrorMessage(`Cannot activate rust-analyzer: ${err.message}`); |
27 | throw err; | 26 | throw err; |