Change default of interpreter path setting from "python"
to "default"/"auto"
#20460
Open
Description
This enables users to select "python"
as an interpreter similar to how they can select "python3"
or the like.
- Change default of
python.defaultInterpreterPath
setting. - Change all the places in the extension that assumes default is
"python"
. For eg. check these files-
vscode-python/src/client/common/interpreterPathService.ts
Lines 81 to 97 in ad0286c
-
vscode-python/src/client/common/process/pythonExecutionFactory.ts
Lines 54 to 58 in bddcb20
- ... and more
-
- Make sure any external API consumers relying on this fact are notified.