Skip to content

Commit d471d92

Browse files
committed
Auto merge of rust-lang#12471 - Veykril:reload-restart, r=Veykril
fix: Restart the server instead of reloading the window when config changes cc rust-lang/rust-analyzer#12469 (comment)
2 parents 6667061 + 2a8ea08 commit d471d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class Config {
6666
);
6767

6868
if (userResponse === "Reload now") {
69-
await vscode.commands.executeCommand("workbench.action.reloadWindow");
69+
await vscode.commands.executeCommand("rust-analyzer.reload");
7070
}
7171
}
7272

0 commit comments

Comments
 (0)