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
In remote development in VS Code or JetBrains, the code for the entire project is available in the container. The current plugin does not behave this way. Only the executed script is run on the server. This results in a very awkward workflow for code of any complexity.
Consider this simple example:
mymod.py:
print("IN MYMOD")
defmyfunc(x):
returnx+1
main.py:
importmymod
This results in:
ava.lang.RuntimeException: Error in Python interpreter:
Type: <class 'ModuleNotFoundError'>
Value: No module named 'mymod'
Line: 1
Namespace: <module>
File: <string>
Traceback (most recent call last):
File "<string>", line -1, in <module>
As a result, python devs have no real way to create multi-file programs. One reason to move to VS Code is to allow more complex development. This does not work if multi-file programs are not supported.
The text was updated successfully, but these errors were encountered:
In remote development in VS Code or JetBrains, the code for the entire project is available in the container. The current plugin does not behave this way. Only the executed script is run on the server. This results in a very awkward workflow for code of any complexity.
Consider this simple example:
mymod.py
:main.py
:This results in:
As a result, python devs have no real way to create multi-file programs. One reason to move to VS Code is to allow more complex development. This does not work if multi-file programs are not supported.
The text was updated successfully, but these errors were encountered: