Skip to content

re-select "set as workspace env" does nothing #58

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

Open
eleanorjboyd opened this issue Dec 3, 2024 · 2 comments
Open

re-select "set as workspace env" does nothing #58

eleanorjboyd opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority

Comments

@eleanorjboyd
Copy link
Member

Testing #24503

  1. select venv as the workspace venv already
  2. click "set as workspace env"
  3. 🐛 nothing seems to happen because I am selecting the environment that was already selected
    ideas:
  • grey out that option
  • show notif that it was already selected

Image

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Dec 4, 2024
@karthiknadig
Copy link
Member

@cwebster-99 @luabud I need some input here. The issue here is that we want to show the ✔️ to select for multi-project scenarios. Suppose you have two environments, and two projects, and each one is selected for each project. Then the ✔️ is necessary as you might want to select the same environment for both projects. E.g, env1 -> project1, env2-> project2, user might want to select env1 -> project1, project2. By removing ✔️it makes it harder to select it.

But I also see the confusion that people can have with clicking the ✔️ on the selected environment.

@cwebster-99
Copy link
Member

Discussed offline and decided to surface a notification communicating that the environment has already been selected in the following scenario

  • User has one folder/project open
  • User tries to select the same environment that is already selected

@karthiknadig karthiknadig added this to the January 2025 milestone Dec 16, 2024
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Dec 16, 2024
@karthiknadig karthiknadig removed this from the January 2025 milestone Jan 27, 2025
@cwebster-99 cwebster-99 added the important Issue identified as high-priority label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority
Projects
None yet
Development

No branches or pull requests

3 participants