From 29940ea4223194cc32f6324534ad75db9e39305a Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 28 Aug 2023 14:59:30 -0700 Subject: feat: :sparkles: manually running server option --- extension/src/activation/environmentSetup.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'extension/src/activation') diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts index 6b434756..7ca87768 100644 --- a/extension/src/activation/environmentSetup.ts +++ b/extension/src/activation/environmentSetup.ts @@ -186,8 +186,12 @@ export async function downloadFromS3( export async function startContinuePythonServer(redownload: boolean = true) { // Check vscode settings + const manuallyRunningServer = + vscode.workspace + .getConfiguration("continue") + .get("manuallyRunningServer") || false; const serverUrl = getContinueServerUrl(); - if (serverUrl !== "http://localhost:65432") { + if (serverUrl !== "http://localhost:65432" || manuallyRunningServer) { console.log("Continue server is being run manually, skipping start"); return; } -- cgit v1.2.3-70-g09d2