Replies: 13 comments 20 replies
-
There is the possibility to choose |
Beta Was this translation helpful? Give feedback.
-
@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! |
Beta Was this translation helpful? Give feedback.
-
Maybe some tooltips in the 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 |
Beta Was this translation helpful? Give feedback.
-
Also having something like this button in the 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 |
Beta Was this translation helpful? Give feedback.
-
Another issue I stumbled on while using pixi with VSCode is that VSCode tries to automatically activate the conda environment. ❯ source activate
source: no such file or directory: activate
❯ conda activate <path-to-project>/.pixi/env
zsh: command not found: conda |
Beta Was this translation helpful? Give feedback.
-
Not having a lot of experience either, but I believe this would be a Task Provider: (and yes this would be great to have :)) |
Beta Was this translation helpful? Give feedback.
-
Another idea could be to automatically use the the recipe-format schema from https://github.com/prefix-dev/recipe-format/blob/main/schema.json for |
Beta Was this translation helpful? Give feedback.
-
Another thing I would like to see is when you hover over a dependency (or their version) in The sparse repodata that bas was talking about could come in handy for this :) |
Beta Was this translation helpful? Give feedback.
-
TLDR; Pixi + VSCode results in a jam where VSCode opens hundreds of I'll share my user experience in here: Typically I use VSCode and the inbuilt interactive Python REPL (via ipython kernel), from a Wanted to try pixi.
What happens next: Reproduced after rebooting machine and selecting .pixi folder as interpreter. Would there be some way to figure out what goes on? |
Beta Was this translation helpful? Give feedback.
-
I started integration of pixi into the vscode python plugin: microsoft/vscode-python#22968 Lets see what happens. |
Beta Was this translation helpful? Give feedback.
-
I noticed that the native testing setup doesn't work with vscode since they execute |
Beta Was this translation helpful? Give feedback.
-
Just to report something else that it would be cool to have on VS Code, that I guess it is not covered by the (awesome) work on VS Code Python extension. In the team were I work on, we use conda-family tools for C++ development. When working with those in VS Code, the current practice for C++ devs is to open a terminal, activate the conda/pixi environment there, open a It would be cool to have some kind of support that does not require manually invoking Kind of related to #411 (comment) . |
Beta Was this translation helpful? Give feedback.
-
The vscode python extension is released with pixi support: https://github.com/microsoft/vscode-python/releases/tag/v2024.10.0 |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions