Merrit / vscode-runner

KRunner plugin for quickly opening recent VSCode workspaces
https://store.kde.org/p/1653111/
GNU General Public License v3.0
18 stars 3 forks source link

[Enhancement] Handle Remote Workspace #3

Closed chinggg closed 1 year ago

chinggg commented 2 years ago

Thanks for making this krunner plugin! Now it handles remote workspace as normal path to open instead of opening a remote SSH workspace.

It should be possible to open a remote workspace from cli https://stackoverflow.com/questions/60144074/how-to-open-a-remote-folder-from-command-line-in-vs-code

I guess some modification can be made here https://github.com/Merrit/vscode-runner/blob/main/bin/vscode_runner.dart#L135

Merrit commented 2 years ago

Judging by the answer in that Stackoverflow it does look possible - probably check the path that was received, something like if it starts with ssh then format it appropriately.

I haven't used KDE in some time, but I'd be happy to answer questions if you wanted to make a PR. :)

Merrit commented 1 year ago

Resolved with #4