Open leviska opened 3 months ago
I was trying to do this myself, but got a little bit stuck due to lack of knowledge around code base:
repl_store
is initialized with local fs, not remote (funny enough it's reading local kernelspec but then runs it on remote)observe_new_views
inside ReplStore::init
, and create a new repl for each (workspace/editor)file_finder
to understand, and it works with workspaces, but here we also need editor too to get the code that we want to run, so I got a little stuck with a problem of matching both states correctly. It seems we need to have only one of (editor/workspace), and get the other from that, but I don't get it what the "parent/child" relationship here if it even existsSame problem here:
I am also facing this issue and adding a default kernel selection for the remote project in its settings.json also doesn't seem to fix this issue, even though the lsp seems to understand the remote file system correctly
Confusingly, I'm working on support for remote jupyter servers which is not the same as the kernels via remoting (over SSH). I'll need some verbiage to differentiate between these.
Check for existing issues
Describe the feature
Run jupyter repl on remote machines
From what I could understand from code:
repl_store
is global, and not updated when changing projects (i.e. connecting to remote project)JupyterSettings
are global too, and project settings are ignored (there is a big chance that remote machine needs different kernel configs)It seems that current code could work on remote, if it weren't global, and it would update to changing workspaces and connecting to remote.
If applicable, add mockups / screenshots to help present your vision of the feature
No response