neuron-team / vscode-ipe

Interactive programming experience for data scientists: Visual Studio Code extension
MIT License
353 stars 27 forks source link

Support remote jupyter instances #161

Open ediphy-azorab opened 6 years ago

ediphy-azorab commented 6 years ago

Currently I use Atom+Hydrogen to connect to a remote jupyter server in the cloud and execute code there. If IPE supported remote notebook servers I could move off Atom, which would make my coworkers very happy!

It looks like there are only a couple of places where there's an assumption that the server is on localhost, mostly in jupyterManager.ts, so I'm (probably naively) thinking this mighty not be too hard.

Is there currently any plan to support this? If not, would there be any interest in a PR?

LukeyQ1 commented 6 years ago

I think this can already be done by using the IPE: Output Pane with Existing Jupyter Notebook Command in the command palette. After selecting the command you select Enter Details Manually and then enter the base address and token.

ediphy-azorab commented 6 years ago

jupyterManager checks that jupyter is installed before it gets that far, unfortunately.

...though I guess it's going to be fairly easy for me to fudge in a fix to skip the check

LukeyQ1 commented 6 years ago

Jupypter needs to be installed for the extension to work, even if you want to use it for only remote notebooks.

DonJayamanne commented 6 years ago

Jupypter needs to be installed for the extension to work,

Can't we add this as an enhancement? Or leave it open as a feature request?

pavanagrawal123 commented 6 years ago

@DonJayamanne and @ediphy-azorab fixed the issue here: https://github.com/pavanagrawal123/VSNotebooks/pull/10 Try it out and let me know if you run into any issues.