posit-dev / positron

Positron, a next-generation data science IDE
Other
2.2k stars 66 forks source link

Allow search in UI for interpreter selection #3596

Open juliasilge opened 1 month ago

juliasilge commented 1 month ago

When we make some improvements to the interpreter selection UI, we should add the ability to search the runtimes/interpreters:

Screenshot 2024-06-20 at 10 40 40 AM

It's really normal to have ONE ZILLION options here for Python, so better UI would be great. cc @chendaniely

The quick pick that "Python: Select Interpreter" uses feels like a better fit for this task:

Screenshot 2024-06-20 at 10 42 30 AM
petetronic commented 1 month ago

Could we consider removing the "select alternate runtime version for a language" capability of the top bar interpreter control, and instead leave that to our quick pick option? The existing top bar control could just remain focused on active sessions?

jmcphers commented 1 month ago

I like that idea. We probably still want some gesture for "choose a different version of this language" from the TBID, but it could open the quickpick (or perhaps a dedicated modal with its own search) when invoked.

DavisVaughan commented 1 month ago

Also heavily related to https://github.com/posit-dev/positron/issues/2235

Note that the Python quick pick has Enter interpreter path... for when autodiscovery fails.

We've already had a few R reports where auto discovery failed because R is in a non standard place, and we need a way for people to be able to supply their own path to R or folder to look in.

liquidcarbon commented 1 month ago

image zoomed in: image Not sure how to pick an interpreter in the 2024.6.27 release (Ubuntu 24.04).

Getting this error when trying to browse for an interpreter. The only one available under "start interpreter" is the global one that I don't want to use.

seeM commented 1 month ago

@liquidcarbon thanks for the report! I've replied in #3710.