Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ee582b

Browse files
authored
Support windsurf setups for coder extension (#441)
1 parentada4ab1 commit9ee582b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
"categories": [
2525
"Other"
2626
],
27+
"extensionPack": [
28+
"ms-vscode-remote.remote-ssh"
29+
],
2730
"activationEvents": [
2831
"onResolveRemoteAuthority:ssh-remote",
2932
"onCommand:coder.connect",
3033
"onUri"
3134
],
32-
"extensionDependencies": [
33-
"ms-vscode-remote.remote-ssh"
34-
],
3535
"main":"./dist/extension.js",
3636
"contributes": {
3737
"configuration": {

‎src/extension.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +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+
// 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
2524
constremoteSSHExtension=
26-
vscode.extensions.getExtension("anysphere.open-remote-ssh")||
25+
vscode.extensions.getExtension("codeium.windsurf-remote-openssh")||
2726
vscode.extensions.getExtension("ms-vscode-remote.remote-ssh")
2827
if(!remoteSSHExtension){
28+
vscode.window.showErrorMessage("Remote SSH extension not found, cannot activate Coder extension")
2929
thrownewError("Remote SSH extension not found")
3030
}
3131
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp