Skip to content

Commit 8246a0f

Browse files
committed
feat: add setting python-envs.terminal.autoActivationType
1 parent b5f7a8d commit 8246a0f

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
@@ -86,6 +86,22 @@
8686
"onExP",
8787
"preview"
8888
]
89+
},
90+
"python-envs.terminal.autoActivationType": {
91+
"type": "string",
92+
"description": "%python-envs.terminal.autoActivationType.description%",
93+
"default": "command",
94+
"enum": [
95+
"command",
96+
"startup",
97+
"none"
98+
],
99+
"enumDescriptions": [
100+
"%python-envs.terminal.autoActivationType.command%",
101+
"%python-envs.terminal.autoActivationType.startup%",
102+
"%python-envs.terminal.autoActivationType.none%"
103+
],
104+
"scope": "machine"
89105
}
90106
}
91107
},

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)