mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Remove outdated FIXME
This commit is contained in:
parent
e4f922a74d
commit
1da99a79d9
1 changed files with 2 additions and 3 deletions
|
@ -19,9 +19,8 @@ let ctx: Ctx | undefined;
|
||||||
const RUST_PROJECT_CONTEXT_NAME = "inRustProject";
|
const RUST_PROJECT_CONTEXT_NAME = "inRustProject";
|
||||||
|
|
||||||
export async function activate(context: vscode.ExtensionContext) {
|
export async function activate(context: vscode.ExtensionContext) {
|
||||||
// For some reason vscode not always shows pop-up error notifications
|
// VS Code doesn't show a notification when an extension fails to activate
|
||||||
// when an extension fails to activate, so we do it explicitly by ourselves.
|
// so we do it ourselves.
|
||||||
// FIXME: remove this bit of code once vscode fixes this issue: https://github.com/microsoft/vscode/issues/101242
|
|
||||||
await tryActivate(context).catch(err => {
|
await tryActivate(context).catch(err => {
|
||||||
void vscode.window.showErrorMessage(`Cannot activate rust-analyzer: ${err.message}`);
|
void vscode.window.showErrorMessage(`Cannot activate rust-analyzer: ${err.message}`);
|
||||||
throw err;
|
throw err;
|
||||||
|
|
Loading…
Reference in a new issue