mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Have MSSQL extension wait for SqlToolsService ready before finishing activation (#7087)
* Have mssql activate wait for service to be ready before returning * Change to using deferred promise * Await on server ready * Finish removing old code * More cleanup * Go back to exposed promise API * Make property readonly * Add missing file * Add back in deleted stuff * Go back to awaiting
This commit is contained in:
@@ -71,7 +71,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<IExten
|
||||
|
||||
registerBooksWidget(bookContributionProvider);
|
||||
|
||||
// initalize client last so we don't have features stuck behind it
|
||||
// initialize client last so we don't have features stuck behind it
|
||||
const server = new SqlToolsServer();
|
||||
context.subscriptions.push(server);
|
||||
await server.start(appContext);
|
||||
|
||||
Reference in New Issue
Block a user