Replies: 1 comment 6 replies
-
Let me know what you think! |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So with most other tools you can point to their virtualenv path (e.g.
~/.virtualenvs
) and it will make it easy within Visual Studio code to work with these environments and select the right interpreter accordingly.The extra subdivision that hatch uses makes this a bit of a different beast to configure and use. Via some browsing, using
Python: Select Interpreter
you can still get the functionality you want, but it is a bit cumbersome. Normally the Python extension is smart enough to populate it, meaning it's only a selection from a dropdown away. I guess the only way forward is either to have the Python extension support hatch natively or some other layout to remain compatible for thedefault
environments with other tools in the Python landscape.I guess hatch needs to get at least a command or option to
env
orstatus
to print the path to thedefault
environment so other tools can work with that virtual environment.Thoughts?
Python extension configuration options: https://code.visualstudio.com/docs/python/settings-reference
Beta Was this translation helpful? Give feedback.
All reactions