We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4f922a + 1da99a7 commit e863447Copy full SHA for e863447
editors/code/src/main.ts
@@ -19,9 +19,8 @@ let ctx: Ctx | undefined;
19
const RUST_PROJECT_CONTEXT_NAME = "inRustProject";
20
21
export async function activate(context: vscode.ExtensionContext) {
22
- // For some reason vscode not always shows pop-up error notifications
23
- // when an extension fails to activate, so we do it explicitly by ourselves.
24
- // FIXME: remove this bit of code once vscode fixes this issue: https://github.com/microsoft/vscode/issues/101242
+ // VS Code doesn't show a notification when an extension fails to activate
+ // so we do it ourselves.
25
await tryActivate(context).catch(err => {
26
void vscode.window.showErrorMessage(`Cannot activate rust-analyzer: ${err.message}`);
27
throw err;
0 commit comments