diff options
author | Nate Sesti <33237525+sestinj@users.noreply.github.com> | 2023-06-27 11:43:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 11:43:24 -0700 |
commit | d62a595812f64408022074c9023eb36a845778ba (patch) | |
tree | a58bfd45a5d7c6fdc47b6007a6dee4bd7ae4bce3 /extension/src/activation/activate.ts | |
parent | d2842f655c4d02952d8cf58ec3a2c927704cabae (diff) | |
parent | 67cdb78636e70e9fb10fa3552dbe1134876a599a (diff) | |
download | sncontinue-d62a595812f64408022074c9023eb36a845778ba.tar.gz sncontinue-d62a595812f64408022074c9023eb36a845778ba.tar.bz2 sncontinue-d62a595812f64408022074c9023eb36a845778ba.zip |
Merge pull request #155 from continuedev/newer-simpler-stream-algo
Newer simpler stream algo
Diffstat (limited to 'extension/src/activation/activate.ts')
-rw-r--r-- | extension/src/activation/activate.ts | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/extension/src/activation/activate.ts b/extension/src/activation/activate.ts index 0c92f095..df8b6871 100644 --- a/extension/src/activation/activate.ts +++ b/extension/src/activation/activate.ts @@ -24,8 +24,19 @@ export async function activateExtension( registerAllCodeLensProviders(context); registerAllCommands(context); - // vscode.window.registerWebviewViewProvider("continue.continueGUIView", setupDebugPanel); - await startContinuePythonServer(); + await new Promise((resolve, reject) => { + vscode.window.withProgress( + { + location: vscode.ProgressLocation.Notification, + title: "Starting Continue Server...", + cancellable: false, + }, + async (progress, token) => { + await startContinuePythonServer(); + resolve(null); + } + ); + }); const serverUrl = getContinueServerUrl(); ideProtocolClient = new IdeProtocolClient( |