summaryrefslogtreecommitdiff
path: root/extension/src/activation
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-06-27 11:43:24 -0700
committerGitHub <noreply@github.com>2023-06-27 11:43:24 -0700
commita32d1b7766844bccc8b0a8dff4a290654446abe9 (patch)
treec47db0ce7cf8be5524103eb62e8f3843ef5b3d99 /extension/src/activation
parent3a39f7029f7faf5c77d4678ce6d796e4c99b558b (diff)
parentbf998a752a547485189f5ac1dc415d7ec475099e (diff)
downloadsncontinue-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')
-rw-r--r--extension/src/activation/activate.ts15
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(