Prompt when an "unsafe" workspace python environment is to be autoselected #10879
Labels
area-environments
Features relating to handling interpreter environments
feature-request
Request for new features or functionality
Unsafe environments would be any environment that could be easily downloaded to user's development environment (e.g. by means of source control). The assumption is that this is the case of environments that are stored in the workspace.
"We found a Python environment in this workspace. Do you want to select it to start up the features in the Python extension? Only accept if you trust this environment."
Button options: Yes, No, Learn More, Do not show again.
Clicking “yes” will update the path to the interpreter in the persistent store.
Clicking “no” will will trigger the “select interpreter” prompt we currently display when there’s no interpreter selected in the workspace. It should also flag the value for pythonPath to be unsafe.
Clicking “learn more” will point users to the Environments section of our documentation, which will be updated to explain how interpreter selection and tools execution work with the Python extension.
Closing the notification prompt will be considered the same as “no”
Clicking "Do not show again" will stop this to be prompted on every workspace.
the prompt will be displayed only once per workspace
The text was updated successfully, but these errors were encountered: