diff options
Diffstat (limited to 'extension/src')
| -rw-r--r-- | extension/src/commands.ts | 5 | ||||
| -rw-r--r-- | extension/src/continueIdeClient.ts | 2 | 
2 files changed, 2 insertions, 5 deletions
diff --git a/extension/src/commands.ts b/extension/src/commands.ts index c98cd3c3..5392a7a3 100644 --- a/extension/src/commands.ts +++ b/extension/src/commands.ts @@ -61,12 +61,9 @@ const commandsMap: { [command: string]: (...args: any) => any } = {    "continue.suggestionUp": suggestionUpCommand,    "continue.acceptSuggestion": acceptSuggestionCommand,    "continue.rejectSuggestion": rejectSuggestionCommand, -  "continue.openContinueGUI": () => { -    ideProtocolClient.openGUI(); -  },    "continue.focusContinueInput": async () => {      if (!debugPanelWebview) { -      await ideProtocolClient.openGUI(); +      vscode.commands.executeCommand("continue.continueGUIView.focus");      }      debugPanelWebview?.postMessage({        type: "focusContinueInput", diff --git a/extension/src/continueIdeClient.ts b/extension/src/continueIdeClient.ts index 9a93a4ef..b4937ac4 100644 --- a/extension/src/continueIdeClient.ts +++ b/extension/src/continueIdeClient.ts @@ -192,7 +192,7 @@ class IdeProtocolClient {    async getUserSecret(key: string) {      // Check if secret already exists in VS Code settings (global)      let secret = vscode.workspace.getConfiguration("continue").get(key); -    if (typeof secret !== "undefined") return secret; +    if (typeof secret !== "undefined" && secret !== null) return secret;      // If not, ask user for secret      secret = await vscode.window.showInputBox({  | 
