summaryrefslogtreecommitdiff
path: root/extension/src
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-01 00:09:19 -0400
committerNate Sesti <sestinj@gmail.com>2023-06-01 00:09:19 -0400
commitea5d50af9ba84242c25e82069d86c08ac039e543 (patch)
tree29b99530ca6df54f5bc641be667c6820ff7e4014 /extension/src
parente6dded34c26fd17ede17776755cc41c26782a045 (diff)
downloadsncontinue-ea5d50af9ba84242c25e82069d86c08ac039e543.tar.gz
sncontinue-ea5d50af9ba84242c25e82069d86c08ac039e543.tar.bz2
sncontinue-ea5d50af9ba84242c25e82069d86c08ac039e543.zip
Polishing for dlt codespace and !config!
Diffstat (limited to 'extension/src')
-rw-r--r--extension/src/activation/activate.ts6
-rw-r--r--extension/src/activation/environmentSetup.ts2
2 files changed, 5 insertions, 3 deletions
diff --git a/extension/src/activation/activate.ts b/extension/src/activation/activate.ts
index 712ffe13..f8f3c65a 100644
--- a/extension/src/activation/activate.ts
+++ b/extension/src/activation/activate.ts
@@ -62,9 +62,9 @@ export function activateExtension(
ideProtocolClient?.openNotebook();
});
} else {
- // ideProtocolClient?.openNotebook().then(() => {
- // // openCapturedTerminal();
- // });
+ ideProtocolClient.openNotebook().then(() => {
+ // openCapturedTerminal();
+ });
}
extensionContext = context;
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index db2c5523..419d32ed 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -77,6 +77,8 @@ function checkEnvExists() {
async function setupPythonEnv() {
console.log("Setting up python env for Continue extension...");
+ if (checkEnvExists()) return;
+
// Assemble the command to create the env
const [pythonCmd, pipCmd] = await getPythonPipCommands();
const [activateCmd, pipUpgradeCmd] = getActivateUpgradeCommands(