From 9b6c88bf2ff2355d9cd982d293ecbaba9f22ed9e Mon Sep 17 00:00:00 2001 From: Matt Bierner <12821956+mjbvz@users.noreply.github.com> Date: Wed, 1 Oct 2025 10:33:04 -0700 Subject: [PATCH] Remove restart call when enabling TS native Fixes #266087 Should no longer be required after upstream changes --- extensions/typescript-language-features/src/commands/useTsgo.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/extensions/typescript-language-features/src/commands/useTsgo.ts b/extensions/typescript-language-features/src/commands/useTsgo.ts index 3f6e5f8c2c9..acf251be00a 100644 --- a/extensions/typescript-language-features/src/commands/useTsgo.ts +++ b/extensions/typescript-language-features/src/commands/useTsgo.ts @@ -68,7 +68,5 @@ async function updateTsgoSetting(enable: boolean): Promise { } } - // Update the setting, restart the extension host, and enable the TypeScript Go extension await tsConfig.update('experimental.useTsgo', enable, target); - await vscode.commands.executeCommand('workbench.action.restartExtensionHost'); }