Skip to content

Commit f378d54

Browse files
matifaliEhabY
andauthored
Apply suggestions from code review
Co-authored-by: Ehab Younes <ehab.alyounes@gmail.com>
1 parent 043c1bd commit f378d54

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ indicates that it should connect to the provided host name using SSH.
1515

1616
The host name takes the format
1717
`coder-<editor>.<domain>--<username>--<workspace>`, where `<editor>` comes from
18-
that product's URI scheme, such as `vscode`, `cursor`, or `devin`. The CLI is
18+
that product's URI scheme, such as `vscode`, `cursor`, or `devin`/`windsurf`. The CLI is
1919
invoked through SSH's `ProxyCommand` with this prefix so it can route SSH to the
2020
right workspace. A legacy `coder-vscode` authority opened in another editor is
2121
reopened once with that editor's prefix; legacy recent-folder entries remain

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async function doActivate(
6060
// This is janky, but that's alright since it provides such minimal
6161
// functionality to the extension.
6262
//
63-
// Cursor and VSCode are covered by ms remote, and the only other is Devin Desktop for now
63+
// Cursor and VSCode are covered by ms remote, and the only other are Devin Desktop / Windsurf for now
6464
// Means that vscodium is not supported by this for now
6565

6666
const remoteSshExtension = getRemoteSshExtension();

src/remote/sshProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ export class SshProcessMonitor implements vscode.Disposable {
488488

489489
/**
490490
* Finds the Remote SSH extension's log file path.
491-
* Tries extension-specific folder first (Cursor, Devin Desktop, Antigravity),
491+
* Tries extension-specific folder first (Cursor, Devin Desktop / Windsurf, Antigravity),
492492
* then output_logging_ fallback (MS VS Code).
493493
*/
494494
async function findRemoteSshLogPath(

src/supportBundle/remoteServerDataPath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function getConfiguredServerDataPath(
106106
"serverInstallPath",
107107
{},
108108
);
109-
// Devin Desktop and Antigravity have no install path setting; their
109+
// Devin Desktop / Windsurf and Antigravity have no install path setting; their
110110
// servers always live in the home default.
111111
let installPath: string | undefined;
112112
if (extensionId === "jeanp413.open-remote-ssh") {

src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function findPort(text: string): number | null {
2424
const lastMatch = allMatches[allMatches.length - 1];
2525
// Each capture group corresponds to a different Remote SSH extension log format:
2626
// [0] full match, [1] and [2] ms-vscode-remote.remote-ssh,
27-
// [3] devin/open-remote-ssh/antigravity, [4] anysphere.remote-ssh
27+
// [3] devin/windsurf/open-remote-ssh/antigravity, [4] anysphere.remote-ssh
2828
const portStr = lastMatch[1] || lastMatch[2] || lastMatch[3] || lastMatch[4];
2929
if (!portStr) {
3030
return null;

0 commit comments

Comments
 (0)