You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add an option to disable Create Environment... button in requirements files #20982
Reacted by Daniel Rodriguez, Alan Guedes, Ulaş Özgüler, Paulie Peña, Justin Demetroff, Tina Li, Brett J Cohen, Jeremy Engel, Manuel Martinez, eric-crowdskout and 10 more
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
I just tested the create a .venv option when I already had one, and it correctly throws an error, so it seems like instead of (or in addition to) an option to disable the button, the code should check to see if an environment is already created for the project and not show the Create Environment... button in that case.
I don't usually see floating buttons in the GUI, so the appearance of a Create Environment... button looked like some sort of corruption when I first noticed it — I immediately tried to resolve the issue by quitting and relaunching 😄. It seems to me that context-dependent status and actions are typically shown in the status bar, e.g. Selected Python Interpreter, so I was expecting the Python environment to be handled in the same way.
May I suggest that, instead of a floating button, Create Environment... is integrated into the status bar?
Isnt this something, that can be moved to the right click menu of requirements.txt files? (Pretty much in the sense of "preview" for markdown files...)
I kinda dont get how the current button positioning without any chance to get rid of it got past the UX team. (And yes, I also re-opened vscode twice, as I thought there is a startup bug...)
Activity
github-actions commentedon Apr 4, 2023
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.
ppena-LiveData commentedon Apr 6, 2023
I just tested the create a
.venvoption when I already had one, and it correctly throws an error, so it seems like instead of (or in addition to) an option to disable the button, the code should check to see if an environment is already created for the project and not show theCreate Environment...button in that case.mcandre commentedon Apr 12, 2023
jamesquilty commentedon Apr 22, 2023
I don't usually see floating buttons in the GUI, so the appearance of a
Create Environment...button looked like some sort of corruption when I first noticed it — I immediately tried to resolve the issue by quitting and relaunching 😄. It seems to me that context-dependent status and actions are typically shown in the status bar, e.g.Selected Python Interpreter, so I was expecting the Python environment to be handled in the same way.May I suggest that, instead of a floating button,
Create Environment...is integrated into the status bar?karthiknadig commentedon Apr 24, 2023
/cc Luciana Abud (@luabud) Courtney Webster (@cwebster-99)
luabud commentedon Apr 25, 2023
I like the idea of adding a setting to disable the button. We likely won't add anything more to the status bar per VS Code extension's UX guidelines
r-owen commentedon May 1, 2023
The button is very distracting and aggressive: the only way to make it go away is to push it, and I know I don't want to create an environment.
dyve commentedon May 2, 2023
Might also help to check if a
.python-versionexists. The buttons is incredibly annoying.nielswadsholt commentedon May 2, 2023
The button apparently also hides the "Complete merge" button in the merge editor window 😬
jerch commentedon May 5, 2023
Isnt this something, that can be moved to the right click menu of requirements.txt files? (Pretty much in the sense of "preview" for markdown files...)
I kinda dont get how the current button positioning without any chance to get rid of it got past the UX team. (And yes, I also re-opened vscode twice, as I thought there is a startup bug...)
Add `createEnvironment.contentButton` setting (#21212)
Add `createEnvironment.contentButton` setting (microsoft#21212)
Merged PR posit-dev/positron-python#122: Merging upstream vscode-pyth…
Merged PR posit-dev/positron-python#122: Merging upstream vscode-pyth…