Skip to content

Implement implicit trigger points for Create Environment #21965

Description

No description provided.

Activity

  1. karthiknadig commented on Sep 25, 2023

    @karthiknadig
    MemberAuthor

    Verification Steps:

    1. Open a folder containing python file and at least one requirements.txt file.
    2. Ensure there are no .venv or .conda in the workspace.
    3. The selected python should be the system python (i.e., not a virtual environment)
    4. Set python.createEnvironment.trigger to prompt in user settings.
    5. Open the python file and click on the run in terminal button at the top right corner in the editor
    6. you should see a prompt:
      image
  2. rzhao271 commented on Sep 26, 2023

    @rzhao271

    I don't see it yet. Will try again tomorrow unless someone else wants to give it a try

    Highlighted is the Python version I'm using, and the play button on the top-right is what I'm pressing to try and get the notification.
    Python version picker along with play button

    main.py

    print("hello")
    

    requirements.txt

    black==23.9.1
    click==8.1.7
    colorama==0.4.6
    mypy==1.5.1
    mypy-extensions==1.0.0
    packaging==23.1
    pathspec==0.11.2
    platformdirs==3.10.0
    typing_extensions==4.8.0
    
  3. rzhao271 commented on Sep 26, 2023

    @rzhao271

    Verified after setting python.createEnvironment.trigger to "prompt".

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

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityon-testplanAdded to test planverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions