Skip to content

Add an option to disable Create Environment... button in requirements files #20982

Description

Hi all,

Is there a way to disable this button?

I think this is great for beginners but other users might handle this outside of vscode and the button is distracting.

Originally posted by Daniel Rodriguez (@danielfrg) in #20879 (comment)

Activity

  1. added
    feature-requestRequest for new features or functionality
    community askFeature request that the community expressed interest in
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on Apr 4, 2023
  2. github-actions commented on Apr 4, 2023

    @github-actions

    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.

  3. ppena-LiveData commented on Apr 6, 2023

    @ppena-LiveData

    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.

  4. mcandre commented on Apr 12, 2023

    @mcandre
  5. jamesquilty commented on Apr 22, 2023

    @jamesquilty

    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?

  6. karthiknadig commented on Apr 24, 2023

    @karthiknadig
    MemberAuthor

    May I suggest that, instead of a floating button, Create Environment... is integrated into the status bar?

    /cc Luciana Abud (@luabud) Courtney Webster (@cwebster-99)

  7. luabud commented on Apr 25, 2023

    @luabud
    Member

    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

  8. r-owen commented on May 1, 2023

    @r-owen

    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.

  9. dyve commented on May 2, 2023

    @dyve

    Might also help to check if a .python-version exists. The buttons is incredibly annoying.

  10. nielswadsholt commented on May 2, 2023

    @nielswadsholt

    The button apparently also hides the "Complete merge" button in the merge editor window 😬

  11. jerch commented on May 5, 2023

    @jerch

    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...)

  12. locked as resolved and limited conversation to collaborators on Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    community askFeature request that the community expressed interest infeature-requestRequest for new features or functionalityneeds community feedbackAwaiting community feedback

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions