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
Also show name for conda environments created in the workspace #21770
I have two workspace conda environments namely .conda and .condaTesting as well as a number of virtual environments named .venv, etc..
As you can see from the image, the names of the workspace level conda enviornments are wrong.
As a result its very confusing to tell what conda env has been selected.
changed the title [-]Incorrect display name for workspace conda environment, always displays the name as `conda`[/-][+]Also show name for conda environments created in the workspace[/+]on Aug 9, 2023
Activity
myabanky commentedon Aug 7, 2023
DonJayamanne commentedon Aug 7, 2023
[-]Incorrect display name for workspace conda environment, always displays the name as `conda`[/-][+]Also show name for conda environments created in the workspace[/+]karrtikr commentedon Aug 9, 2023
At least when displaying it, we can show the name. Even though while activating or using the environments, these have no names.
Marking as a good first issue, code to be modified here:
vscode-python/src/client/pythonEnvironments/base/info/env.ts
Line 155 in 401418a
if
env.searchLocationexists and it is a conda environment, create display name using env name.11 remaining items
PopoDev commentedon Dec 27, 2023
Hi Kartik Raj (@karrtikr), I'd like to give it a try!
If I understood correctly conda environments don't have an
env.name. Can we create the display name using the basename ofenv.location?Show name for conda environments created in the workspace (#22701)
karrtikr commentedon Jan 19, 2024
Fix should be out in the pre-release version of the extension in a day, use the following to try it out:
PopoDev commentedon Jan 20, 2024
The fix seems to work as expected. It shows the names of the workspace level conda environments, e.g
.conda,.condaTestingand.condaWorkspace.PopoDev commentedon Jan 20, 2024
Also the new
Create EnvironmentinSelect Interpreterlooks neat !jrieken commentedon Jan 25, 2024
Adding
verifiedbased on #21770 (comment)Merged PR posit-dev/positron-python#347: Merge upstream release v2024…
Merged PR posit-dev/positron-python#347: Merge upstream release v2024…