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 | a32d1b7766844bccc8b0a8dff4a290654446abe9 (patch) | |
tree | c47db0ce7cf8be5524103eb62e8f3843ef5b3d99 /extension/src/activation/activate.ts | |
parent | 3a39f7029f7faf5c77d4678ce6d796e4c99b558b (diff) | |
parent | bf998a752a547485189f5ac1dc415d7ec475099e (diff) | |
download | sncontinue-a32d1b7766844bccc8b0a8dff4a290654446abe9.tar.gz sncontinue-a32d1b7766844bccc8b0a8dff4a290654446abe9.tar.bz2 sncontinue-a32d1b7766844bccc8b0a8dff4a290654446abe9.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( |