diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-01 00:09:19 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-01 00:09:19 -0400 |
commit | 967aee09f5b5c304487651202097190b197ba408 (patch) | |
tree | 4e5dd14da65d5de20fcdc869b660bc44d6e9245d /extension/src | |
parent | c5aa76a33f99c57bbd45d0995dcb7a9e6c6d855b (diff) | |
download | sncontinue-967aee09f5b5c304487651202097190b197ba408.tar.gz sncontinue-967aee09f5b5c304487651202097190b197ba408.tar.bz2 sncontinue-967aee09f5b5c304487651202097190b197ba408.zip |
Polishing for dlt codespace and !config!
Diffstat (limited to 'extension/src')
-rw-r--r-- | extension/src/activation/activate.ts | 6 | ||||
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 2 |
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( |