Skip to content

Commit 92241d6

Browse files
committed
Restart server automatically on settings changes
1 parent ad6810e commit 92241d6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

editors/code/src/config.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,7 @@ export class Config {
6060

6161
if (!requiresReloadOpt) return;
6262

63-
const userResponse = await vscode.window.showInformationMessage(
64-
`Changing "${requiresReloadOpt}" requires a reload`,
65-
"Reload now"
66-
);
67-
68-
if (userResponse === "Reload now") {
69-
await vscode.commands.executeCommand("rust-analyzer.reload");
70-
}
63+
await vscode.commands.executeCommand("rust-analyzer.reload");
7164
}
7265

7366
// We don't do runtime config validation here for simplicity. More on stackoverflow:

0 commit comments

Comments
 (0)