-
Notifications
You must be signed in to change notification settings - Fork 533
docs: Provide guidance on using direnv
#3513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
09bdb21
b85cabf
ae5e3b3
7d5344e
50d2f27
1439484
d58f2ef
418dda9
e6a2fa4
7cb820d
dfcfbb6
6cc3119
53502af
0e8f28b
c8998e5
5e5eadf
f2a8062
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Python extension also has proper pixi support, we should mention that IMO
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean this https://code.visualstudio.com/docs/python/python-quick-start extension, correct?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes it's this extension. maybe add an image guide on how to do it?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, If we have a proper vscode section, the Python extension should be mentioned as well 🙂
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not entirely sure how to use the python extension with
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose it comes down to the settings.yml for the python plugin: https://code.visualstudio.com/docs/python/settings-reference It is not obvious to me how this should be configured.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should no configuration. I just created a fresh Pixi workspace with Python, started vscode in it and vscode immediately selected the pixi environment. Maybe @baszalmstra can check if something is broken on Windows at the moment? |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| [VSCode](https://code.visualstudio.com/) is a popular develop environment. | ||
|
|
||
| To use pixi inside of vscode, follow these steps: | ||
|
Hofer-Julian marked this conversation as resolved.
Outdated
|
||
|
|
||
| * Create a `pixi.toml` file. | ||
|
|
||
| See [`direnv`](../third_party/direnv.md). | ||
| * Install `direnv`. | ||
| * Add an `.envrc` to the project. | ||
|
|
||
| This [vscode extension](https://marketplace.visualstudio.com/items?itemName=mkhl.direnv). | ||
| * Install the `direnv` vscode extension | ||

Uh oh!
There was an error while loading. Please reload this page.