Skip to content

Add create env command button to related files #20812

Closed

Description

Add the create environment command button to following files:

  1. Any file classified as a pip-requirements file.
  2. A pyproject.toml with build.system table.

Activity

  1. karthiknadig commented on Mar 20, 2023

    @karthiknadig
    MemberAuthor

    Verification steps:

    1. Ensure python extension is installed and activated. (see Output > Python)
    2. Create a requirements.txt file with following content:
    pytest
    pytest-cov
    
    1. A button should appear.
  2. ulugbekna commented on Mar 21, 2023

    @ulugbekna

    Verified, but would it be better to name the button "Create Python Environment..." ? Given how python is popular among people new to programming, just "create env" may be a bit confusing to them, I think. Karthik Nadig (@karthiknadig)

  3. karthiknadig commented on Mar 21, 2023

    @karthiknadig
    MemberAuthor

    Ulugbek Abdullaev (@ulugbekna) Thanks for the feedback, I will discuss this with the team. One reason we didn't put python in there is because requirements.txt is specific to python.

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

  4. luabud commented on Mar 23, 2023

    @luabud
    Member

    ohh I see your point -- It could be helpful for folks who are not as familiar with the concept of virtual environments (or Python envs). I'll defer to Courtney Webster (@cwebster-99)'s opinion & expertise here 😊

  5. cwebster-99 commented on Mar 23, 2023

    @cwebster-99
    Member

    For new users, I hypothesize that they wouldn't know that a requirements.txt file is specific to Python. Those newer users are oftentimes not aware what a virtual environment is either, or if they use one they do so based on explicit instruction.

    I think it is worth changing the button to "Create Python Environment" to be more specific for those newer users that may be hesitant because they don't know what applies to Python and what does not.

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

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions