Skip to content
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

Code available to VS Code and Deephaven Server do not match #44

Closed
chipkent opened this issue Jul 16, 2024 · 1 comment
Closed

Code available to VS Code and Deephaven Server do not match #44

chipkent opened this issue Jul 16, 2024 · 1 comment
Labels
enhancement New feature or request triage

Comments

@chipkent
Copy link
Member

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")

def myfunc(x):
    return x + 1

main.py:

import mymod

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.

@chipkent chipkent added enhancement New feature or request triage labels Jul 16, 2024
@bmingles
Copy link
Collaborator

Closing as duplicate of #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

2 participants