From 986a9c8bc9425fbed40794302472d8798105a46a Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 4 May 2020 17:36:34 -0700 Subject: [PATCH] Don't save files on JS/TS server start Fixes #96503 This workaround no longer seems needed --- .../src/typeScriptServiceClientHost.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/extensions/typescript-language-features/src/typeScriptServiceClientHost.ts b/extensions/typescript-language-features/src/typeScriptServiceClientHost.ts index e972c339d3e..1e0d59f1057 100644 --- a/extensions/typescript-language-features/src/typeScriptServiceClientHost.ts +++ b/extensions/typescript-language-features/src/typeScriptServiceClientHost.ts @@ -174,12 +174,9 @@ export default class TypeScriptServiceClientHost extends Disposable { private populateService(): void { this.fileConfigurationManager.reset(); - // See https://github.com/Microsoft/TypeScript/issues/5530 - vscode.workspace.saveAll(false).then(() => { - for (const language of this.languagePerId.values()) { - language.reInitialize(); - } - }); + for (const language of this.languagePerId.values()) { + language.reInitialize(); + } } private async diagnosticsReceived(