diff --git a/src/vs/workbench/api/node/extHostExtensionService.ts b/src/vs/workbench/api/node/extHostExtensionService.ts index 15d6909c19..1d23139aa5 100644 --- a/src/vs/workbench/api/node/extHostExtensionService.ts +++ b/src/vs/workbench/api/node/extHostExtensionService.ts @@ -409,7 +409,20 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape { // -- eager activation // Handle "eager" activation extensions - private _handleEagerExtensions(): Promise { + private async _handleEagerExtensions(): Promise { + // {{SQL CARBON EDIT}} - load MSSQL extension first so it doesn't get delayed by other extensions + try { + await this._activateById(new ExtensionIdentifier('microsoft.mssql'), new ExtensionActivatedByEvent(true, `Load MSSQL extension first on startup`)); + } catch (err) { + console.error(err); + } + + return this._defaultHandleEagerExtensions(); + } + + + // Handle "eager" activation extensions + private _defaultHandleEagerExtensions(): Promise { this._activateByEvent('*', true).then(undefined, (err) => { console.error(err); });