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

Support windsurf setups for coder extension#441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bcpeinhardt merged 3 commits intocoder:mainfromamberry:main
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionspackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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": {
Expand Down
8 changes: 4 additions & 4 deletionssrc/extension.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -19,13 +19,13 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
// 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
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp