From 4e22bfe49bbf292cd472f7b9a78fcdc16b4ed983 Mon Sep 17 00:00:00 2001 From: Renan Rodrigues dos Santos Date: Tue, 26 Aug 2025 12:03:14 -0300 Subject: [PATCH] Display activate button when a terminal is moved to the editor window --- package.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package.json b/package.json index e060b003..be8f0a5f 100644 --- a/package.json +++ b/package.json @@ -497,6 +497,18 @@ "when": "explorerViewletVisible && resourceExtname == .py" } ], + "editor/title": [ + { + "command": "python-envs.terminal.activate", + "group": "navigation", + "when": "resourceScheme == vscode-terminal && config.python-envs.terminal.showActivateButton && pythonTerminalActivation && !pythonTerminalActivated" + }, + { + "command": "python-envs.terminal.deactivate", + "group": "navigation", + "when": "resourceScheme == vscode-terminal && config.python-envs.terminal.showActivateButton && pythonTerminalActivation && pythonTerminalActivated" + } + ], "editor/title/run": [ { "command": "python-envs.runAsTask",