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
I think a Pixi VSCode extension that automatically sets your python interpreter if python is in the environment (and maybe also has some other features) would be awesome.
Reacted by theorashid, Jan-Hendrik Müller, jslorrma, Samantha Hughes, Tyler Erickson, Andreas Reich and Zaubeerer
Reacted by Bas Zalmstra, Silvio Traversaro, mohamad-colab-user, Jan-Hendrik Müller and Zaubeerer
There is the possibility to choose <path-to-project>/.pixi/env/bin/python3.11 as python interpreter but VSCode automatically recognizes it as a conda python and tries to run conda activate <path-to-project>/slim-trees/.pixi/env on startup.
@pavelzw that would be really nice indeed! What other features would that include? We don't have a lot of experience with write plugins for IDE's so any input would be welcome!
Also having something like this button in the pixi.toml would be great
Also, you can hover in vscode over dependencies in the package.json to get some package metadata (and the newest version). I think that would also be nice for the pixi.toml
Activity
pavelzw commentedon Jul 2, 2023
There is the possibility to choose
<path-to-project>/.pixi/env/bin/python3.11as python interpreter but VSCode automatically recognizes it as a conda python and tries to runconda activate <path-to-project>/slim-trees/.pixi/envon startup.ruben-arts commentedon Jul 3, 2023
@pavelzw that would be really nice indeed! What other features would that include? We don't have a lot of experience with write plugins for IDE's so any input would be welcome!
pavelzw commentedon Jul 3, 2023
Maybe some tooltips in the
pixi.toml?I could also imagine people wanting to execute pixi commands using this thing (I don't know what it's called 😅)
Maybe also on the side bar an overview of installed packages
pavelzw commentedon Jul 12, 2023
Also having something like this button in the
pixi.tomlwould be greatAlso, you can hover in vscode over dependencies in the package.json to get some package metadata (and the newest version). I think that would also be nice for the pixi.toml
pavelzw commentedon Oct 9, 2023
Another issue I stumbled on while using pixi with VSCode is that VSCode tries to automatically activate the conda environment.
The solution is to uncheck this box.

Wumpf commentedon Oct 24, 2023
Not having a lot of experience either, but I believe this would be a Task Provider:
https://code.visualstudio.com/api/extension-guides/task-provider
(and yes this would be great to have :))