Restart server automatically on settings changes
@@ -60,15 +60,8 @@ export class Config {
if (!requiresReloadOpt) return;
- const userResponse = await vscode.window.showInformationMessage(
- `Changing "${requiresReloadOpt}" requires a reload`,
- "Reload now"
- );
-
- if (userResponse === "Reload now") {
await vscode.commands.executeCommand("rust-analyzer.reload");
}
- }
// We don't do runtime config validation here for simplicity. More on stackoverflow:
// https://stackoverflow.com/questions/60135780/what-is-the-best-way-to-type-check-the-configuration-for-vscode-extension
