SublimeText / Helium

Let Sublime Text talk with Jupyter.
Other
237 stars 15 forks source link

Is there a way to use Helium on a remote machine through rmate? #116

Open KangByungwoo opened 3 years ago

KangByungwoo commented 3 years ago

Hi,

I've been wondering if it's possible to have both jupyter notebook's interactive mode and sublime text's editing interface at the same time for a code/notebook on a remote machine, and it seems that Helium might provide such an environment.

My workflow is to edit locally and run remotely codes on a remote server using rmate. I tested if it is possible to execute a code that is locally open via rmate but saved on a remote server through Helium. There was a crucial problem: it seemed that Helium interprets this code as a local file (in /tmp folder where rmate temporarily saves the code in the local machine), and therefore it could not "import" python modules saved on the remote server. rmate doesn't suffer from such problems, because once I save the code, it immediately transfers through ssh to the remote server and update the code there. After that, I can run the updated code on the remote server.

Is there any way to work around the above problem?

sschuhmann commented 3 years ago

Hi, I have not used rmate yet, but from what I've seen it uses a ssh connection to the remote server in order to transmit the file. However, Helium had support for ssh connections, which was disabled due to incompatibility with the windows versions used to connect to the server. Since it looks like sublime iso going to package the needed libraries in the next version, this feature might come back.

For now it might be possible to mount the file system locally and edit the file. Executing the code in Helium would not work at this time.

Hope I can find some time to look into the problems with Sublime 4, so a solution might be on it's way soon.

KangByungwoo commented 3 years ago

I see, thank you for the explanation. Hope this feature will come back in the next version :)

On Sat, Feb 27, 2021 at 9:05 AM Steffen Schuhmann notifications@github.com wrote:

Hi, I have not used rmate yet, but from what I've seen it uses a ssh connection to the remote server in order to transmit the file. However, Helium had support for ssh connections, which was disabled due to incompatibility with the windows versions used to connect to the server. Since it looks like sublime iso going to package the needed libraries in the next version, this feature might come back.

For now it might be possible to mount the file system locally and edit the file. Executing the code in Helium would not work at this time.

Hope I can find some time to look into the problems with Sublime 4, so a solution might be on it's way soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pykong/Helium/issues/116#issuecomment-787103298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIGHXTEBMIZOIZZ2PJ3Y5TTBEQ6DANCNFSM4WB5KR6A .

clemisch commented 1 year ago

Any progress on this?