diff --git a/package.json b/package.json index bcb3e354..5c415436 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "categories": [ "Other" ], + "extensionPack": [ + "ms-vscode-remote.remote-ssh" + ], "activationEvents": [ "onResolveRemoteAuthority:ssh-remote", "onCommand:coder.connect", "onUri" ], - "extensionDependencies": [ - "ms-vscode-remote.remote-ssh" - ], "main": "./dist/extension.js", "contributes": { "configuration": { diff --git a/src/extension.ts b/src/extension.ts index 565af251..e5e2799a 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -19,13 +19,13 @@ export async function activate(ctx: vscode.ExtensionContext): Promise { // This is janky, but that's alright since it provides such minimal // functionality to the extension. // - // Prefer the anysphere.open-remote-ssh extension if it exists. This makes - // our extension compatible with Cursor. Otherwise fall back to the official - // SSH extension. + // Cursor and VSCode are covered by ms remote, and the only other is windsurf for now + // Means that vscodium is not supported by this for now const remoteSSHExtension = - vscode.extensions.getExtension("anysphere.open-remote-ssh") || + vscode.extensions.getExtension("codeium.windsurf-remote-openssh") || vscode.extensions.getExtension("ms-vscode-remote.remote-ssh") if (!remoteSSHExtension) { + vscode.window.showErrorMessage("Remote SSH extension not found, cannot activate Coder extension") throw new Error("Remote SSH extension not found") } // eslint-disable-next-line @typescript-eslint/no-explicit-any pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy