Skip to content

Commit 4e22bfe

Browse files
Display activate button when a terminal is moved to the editor window
1 parent ca8d03a commit 4e22bfe

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,18 @@
497497
"when": "explorerViewletVisible && resourceExtname == .py"
498498
}
499499
],
500+
"editor/title": [
501+
{
502+
"command": "python-envs.terminal.activate",
503+
"group": "navigation",
504+
"when": "resourceScheme == vscode-terminal && config.python-envs.terminal.showActivateButton && pythonTerminalActivation && !pythonTerminalActivated"
505+
},
506+
{
507+
"command": "python-envs.terminal.deactivate",
508+
"group": "navigation",
509+
"when": "resourceScheme == vscode-terminal && config.python-envs.terminal.showActivateButton && pythonTerminalActivation && pythonTerminalActivated"
510+
}
511+
],
500512
"editor/title/run": [
501513
{
502514
"command": "python-envs.runAsTask",

0 commit comments

Comments
 (0)