Skip to content

Commit df13df0

Browse files
authored
add python.useEnvironmentsExtension (#25204)
step 1 of insiders envs ext rollout. In the activation function, set `python.config.useEnvironmentsExtension:true` (so for everyone with envs extension installed). Result: all users with extension envs extension installed (and using it while we have this bake) will get this in their user settings and thus when experimentation starts they will override any control/treatment group.
1 parent 2faa164 commit df13df0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,16 @@
440440
"scope": "resource",
441441
"type": "string"
442442
},
443+
"python.useEnvironmentsExtension": {
444+
"default": false,
445+
"description": "%python.useEnvironmentsExtension.description%",
446+
"scope": "machine-overridable",
447+
"type": "boolean",
448+
"tags": [
449+
"onExP",
450+
"preview"
451+
]
452+
},
443453
"python.experiments.enabled": {
444454
"default": true,
445455
"description": "%python.experiments.enabled.description%",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"python.debugger.deprecatedMessage": "This configuration will be deprecated soon. Please replace `python` with `debugpy` to use the new Python Debugger extension.",
3939
"python.defaultInterpreterPath.description": "Path to default Python to use when extension loads up for the first time, no longer used once an interpreter is selected for the workspace. See [here](https://aka.ms/AAfekmf) to understand when this is used",
4040
"python.envFile.description": "Absolute path to a file containing environment variable definitions.",
41+
"python.useEnvironmentsExtension.description": "Enables the Python Environments extension.",
4142
"python.experiments.enabled.description": "Enables A/B tests experiments in the Python extension. If enabled, you may get included in proposed enhancements and/or features.",
4243
"python.experiments.optInto.description": "List of experiments to opt into. If empty, user is assigned the default experiment groups. See [here](https://github.com/microsoft/vscode-python/wiki/AB-Experiments) for more details.",
4344
"python.experiments.optOutFrom.description": "List of experiments to opt out of. If empty, user is assigned the default experiment groups. See [here](https://github.com/microsoft/vscode-python/wiki/AB-Experiments) for more details.",

0 commit comments

Comments
 (0)