Opening a new file within an existing session on VSCode through ssh.
dangthatsright opened this issue · 3 comments
I'm having trouble opening up another structure within an already running session in VSCode. I am ssh-ed to a cloud instance where I have VSCode and Protein Viewer running. When I click home -> open, I only see files visible on my personal computer. Is it possible to open up an existing file on my cloud instance into an already running protein viewer session?
Hey @dangthatsright interesting use case!
I’m afraid I can’t see an elegant way to do this. VSCode doesn’t allow direct access to the file system to web panel extensions. If there’s a way to get a VSCode URI for the cloud files of interest it should be straightforward but I’m not familiar enough with the inner workings and these things are scoped to suggest a way forward.
I'm encountering a related issue while using Molstar on a remote cluster. Currently, the right-click feature doesn't support for trajectory filetypes such as .xtc and .dcd. Consequently, whenever I want to visualize a trajectory on a cluster, I'm required to download it from the remote cluster and open it on my local computer. I was wondering if it is possible to enable Molstar to automatically load the traj file using the top file when I right-click both a top file and a traj file at the same time. If this functionality could be implemented, it would greatly enhance the user experience on the remote cluster.
Hi @CongWang98 that sounds like a great feature and certainly possible. Unfortunately I don't have bandwidth right now to work on it. I hope you or someone from the community maybe able to make a contribution on this occasion.