-
Notifications
You must be signed in to change notification settings - Fork 1
expose virtualenv #5
Comments
In PyCharm professional I can use a remote interpreter and point it at a docker service. You might want to do a quick search to see if VSC has the same functionality. |
Do you mean it does that for linting or debugging? I think remote debugging should be fine. Just not sure about the linting (haven't found anything yet). It just wants to run |
PyCharm has it's own linters but it gets information from the interpreter such as python version and installed packages to provide linting and autocompletion for: https://www.jetbrains.com/help/pycharm/using-docker-compose-as-a-remote-interpreter.html#docker-compose-remote. I can imagine VS Code has something similar. If not (time to switch?) You can setup remote debugging but I'm personally not a fan of this as it's laborious. Instead you can insert I think having a workflow to work with docker containers is necessary in the current climate. As per the proposed guidelines, which editor someone prefers is not a factor. |
I'm not against Docker, I am a proponent of using it where we can and it helps us.
I think this should be more like that the project should not be tied to a particular editor. It should still work well with popular editors. I will look more into VS Code options. Not sure what the requirements are for vim (don't use it myself). But virtualenvs are generally well supported. |
Looks like remote interpreters are not supported yet in VS Code. |
I am using Visual Studio Code. So usually I had a consistent virtualenv as a sub directory or link and using a global config it would just pick it up. Or I could configure the path for the project.
The virtualenv is for example used for linting (in addition to running the command).
How do I can I get access to the virtualenv, have you already looked at that?
The text was updated successfully, but these errors were encountered: