<!-- **PLEASE** look for preexisting feature requests before opening a new one as a 👍 on a preexisting issue is more important than opening a new issue or leaving a comment. --> https://github.com/microsoft/vscode-python/pull/20457#discussion_r1061767208 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 - [ ] https://github.com/microsoft/vscode-python/blob/ad0286c9c44884c6d43a7648b14ca69bec9ae989/src/client/common/interpreterPathService.ts#L81-L97 - [ ] https://github.com/microsoft/vscode-python/blob/29a72b4fca446eeb8629213f7128dd6cdb33e812/src/client/common/configSettings.ts#L584 - [ ] https://github.com/microsoft/vscode-python/blob/bddcb20298629f30935312a26c85eb95af41df34/src/client/common/process/pythonExecutionFactory.ts#L54-L58 - [ ] https://github.com/microsoft/vscode-python/blob/847055539d6578e4e99af4a2308febc66693da4c/src/client/common/constants.ts#L94 - [ ] ... and more - [ ] Make sure any external API consumers relying on this fact are notified.
#20457 (comment)
This enables users to select
"python"as an interpreter similar to how they can select"python3"or the like.python.defaultInterpreterPathsetting."python". For eg. check these filesvscode-python/src/client/common/interpreterPathService.ts
Lines 81 to 97 in ad0286c
vscode-python/src/client/common/configSettings.ts
Line 584 in 29a72b4
vscode-python/src/client/common/process/pythonExecutionFactory.ts
Lines 54 to 58 in bddcb20
vscode-python/src/client/common/constants.ts
Line 94 in 8470555