-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide Create Environment
within the Select Interpreter
quick pick
#20249
Comments
Yeah I think it would be great :) but I'd vote to also let the user pick the global env if there's more than one available |
But how discoverable is that icon? I personally would never think to look up there. I would also consider the "+" to do what "Enter interpreter path" does (it even matches its current icon 😉) before I would think of "+" meaning "Create Environment". |
I like Kartik's idea, but also agree with Brett regarding discoverability. I'm thinking of two options: 1 - We leave the enter interpreter path entry and add one above with "+ Create a new environment..." option. We would need to replace the icon from the enter interpreter path (it could be either the search icon given most folks use the "browse" option, or maybe the symlink one from https://microsoft.github.io/vscode-codicons/dist/codicon.html?); or But ofc happy to hear other ideas or suggestions 😊 |
I agree, I was thinking of |
The key here is discoverability IMO, as it's already available via the normal command menu, what matters is not having people hunt for it. I found this request because I hit "select interpreter" as the obvious thing to do when I wanted to change from the default, but I'm not sure I would have spotted an unobtrusive "+" at the top. My preference would be the first option @luabud proposes. I don't think it should force use of the default intepreter, which was what @brettcannon suggested originally, as that's not always the right choice (particularly in light of #22364). Having it work exactly like "Python: New Environment" (including prompting the user for environment type and base interpreter) seems perfectly fine to me. |
To be consistent with Jupyter I think it makes sense to use the + button for the create environment, and then add either the search icon or the folder icon from https://microsoft.github.io/vscode-codicons/dist/codicon.html for the "enter interpreter path" option |
Done via #22746 |
Would it be worth having a
Create Environment with ...
option in the environment quick pick that would use the newest version of Python found to be installed globally?The text was updated successfully, but these errors were encountered: