Skip to content

Commit d6781ce

Browse files
author
Adam Berry
committed
Add additional remote ssh extension support for vscodium/windsurf et al
1 parent e01f0e3 commit d6781ce

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/extension.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
1919
// This is janky, but that's alright since it provides such minimal
2020
// functionality to the extension.
2121
//
22-
// Prefer the anysphere.open-remote-ssh extension if it exists. This makes
23-
// our extension compatible with Cursor. Otherwise fall back to the official
24-
// SSH extension.
22+
// The jeanp413 extension is available for vscodium and all bundled from there,
23+
// so we check for that first. If it's not available, we check for the windsurf, then
24+
// anysphere extension which is the cursor fork of the first one. If that's not
25+
// available, we check for the official ms remote-ssh extension.
2526
const remoteSSHExtension =
27+
vscode.extensions.getExtension("jeanp413.open-remote-ssh") ||
28+
vscode.extensions.getExtension("codeium.windsurf-remote-openssh") ||
2629
vscode.extensions.getExtension("anysphere.open-remote-ssh") ||
2730
vscode.extensions.getExtension("ms-vscode-remote.remote-ssh")
2831
if (!remoteSSHExtension) {

0 commit comments

Comments
 (0)