mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 12:18:33 +00:00
Auto merge of #12471 - Veykril:reload-restart, r=Veykril
fix: Restart the server instead of reloading the window when config changes cc https://github.com/rust-lang/rust-analyzer/issues/12469#event-6743447147
This commit is contained in:
commit
d471d92259
@ -66,7 +66,7 @@ export class Config {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (userResponse === "Reload now") {
|
if (userResponse === "Reload now") {
|
||||||
await vscode.commands.executeCommand("workbench.action.reloadWindow");
|
await vscode.commands.executeCommand("rust-analyzer.reload");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user