Skip to content

Commit c796ba1

Browse files
committed
feat: add setting python-envs.terminal.autoActivationType
1 parent 5c707da commit c796ba1

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,22 @@
8787
"onExP",
8888
"preview"
8989
]
90+
},
91+
"python-envs.terminal.autoActivationType": {
92+
"type": "string",
93+
"description": "%python-envs.terminal.autoActivationType.description%",
94+
"default": "command",
95+
"enum": [
96+
"command",
97+
"startup",
98+
"none"
99+
],
100+
"enumDescriptions": [
101+
"%python-envs.terminal.autoActivationType.command%",
102+
"%python-envs.terminal.autoActivationType.startup%",
103+
"%python-envs.terminal.autoActivationType.none%"
104+
],
105+
"scope": "machine"
90106
}
91107
}
92108
},

package.nls.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"python-envs.pythonProjects.envManager.description": "The environment manager for creating and managing environments for this project.",
77
"python-envs.pythonProjects.packageManager.description": "The package manager for managing packages in environments for this project.",
88
"python-envs.terminal.showActivateButton.description": "Whether to show the 'Activate' button in the terminal menu",
9+
"python-envs.terminal.autoActivationType.description": "The type of activation to use when activating an environment in the terminal",
10+
"python-envs.terminal.autoActivationType.command": "Activation by executing a command in the terminal.",
11+
"python-envs.terminal.autoActivationType.startup": "Activation by modifying the terminal shell startup script.",
12+
"python-envs.terminal.autoActivationType.none": "No automatic activation of environments.",
913
"python-envs.setEnvManager.title": "Set Environment Manager",
1014
"python-envs.setPkgManager.title": "Set Package Manager",
1115
"python-envs.addPythonProject.title": "Add Python Project",

0 commit comments

Comments
 (0)