posit-dev / positron

Positron, a next-generation data science IDE
Other
1.74k stars 48 forks source link

Python: show full interpreter path in UI #3033

Open isabelizimm opened 2 months ago

isabelizimm commented 2 months ago

The way Python interpreter paths are created/managed, often times the useful part of the path (eg, the directory where a venv lives), is truncated from the current drop-down. It makes it frustrating to navigate through numerous virtual environments that might be nested in a directory, since the only way to view the path is to hover over each one.

It would be ideal to have the full Python interpreter path displayed in one or more locations:

Some ideas for where the path could live:

Screenshot 2024-05-06 at 7 28 11 PM
kmasiello commented 2 months ago

+1. Adding another visual to show how difficult it can be to know what venv you're using or selecting.

image

seeM commented 2 months ago

In addition, maybe if the venv is named .venv we can show its parent directory in the name instead of .venv? So if you have it at ~/projects/positron-ipykernel/.venv the name would become: Python 3.12.3 (Venv: positron-ipykernel)