Skip to content

Commit 5769d3f

Browse files
author
Adam Berry
committed
Use extension pack for optional dep
1 parent fecc828 commit 5769d3f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"categories": [
2525
"Other"
2626
],
27+
"extensionPack": [
28+
"ms-vscode-remote.remote-ssh"
29+
],
2730
"activationEvents": [
2831
"onResolveRemoteAuthority:ssh-remote",
2932
"onCommand:coder.connect",

src/extension.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@ 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-
// 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.
22+
// Cursor and VSCode are covered by ms remote, and the only other is windsurf for now
23+
// Means that vscodium is not supported by this for now
2624
const remoteSSHExtension =
27-
vscode.extensions.getExtension("jeanp413.open-remote-ssh") ||
2825
vscode.extensions.getExtension("codeium.windsurf-remote-openssh") ||
29-
vscode.extensions.getExtension("anysphere.open-remote-ssh") ||
3026
vscode.extensions.getExtension("ms-vscode-remote.remote-ssh")
3127
if (!remoteSSHExtension) {
3228
vscode.window.showErrorMessage("Remote SSH extension not found, cannot activate Coder extension")

0 commit comments

Comments
 (0)