Hi, I am using the Cursor’s version of remote SSH extension (Anysphere Remote SSH). (Seems like this extension was recently developed to replace the Remote Development Pack from Microsoft).
So, in the MSFT’s Remote SSH extension, I was able to programmatically call “opensshremotes.openEmptyWindow” command with parameter, which helps me skip the step of selecting a host. The “programmatically call command” part is very important, as it enable other extension to be able to launch remote window seamlessly.
Can we also support this in Cursor version, and even make it better than MSFT?
I would love to see support for host name and path, something like: vscode.commands.executeCommand('opensshremotes.openEmptyWindow', {host:"myhost", path: "/mypath"});
Could you try using these and share whether it works for your use cases? We’d prefer that you don’t call the opensshremotes.openEmptyWindow command directly, as we can’t guarantee backwards compatibility right now.