Skip to content

Add Windsurf Editor Support#2654

Open
cameronmolen wants to merge 1 commit into
pingdotgg:mainfrom
cameronmolen:feature/windsurf-editor
Open

Add Windsurf Editor Support#2654
cameronmolen wants to merge 1 commit into
pingdotgg:mainfrom
cameronmolen:feature/windsurf-editor

Conversation

@cameronmolen
Copy link
Copy Markdown

@cameronmolen cameronmolen commented May 12, 2026

What Changed

  • Add Windsurf editor definition with fallback to surf command
  • Add WindsurfIcon component and picker menu option
  • Add tests for Windsurf launch, line/column handling, and fallback behavior

Why

To support opening the current project in the Windsurf IDE.

UI Changes

Before:
Screenshot 2026-05-11 at 7 56 41 PM

After:

Screen.Recording.2026-05-11.at.8.04.13.PM.mov

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Low risk: adds a new editor option and related command-resolution fallbacks without changing existing editor behaviors, with coverage for launch args and availability detection across platforms.

Overview
Adds Windsurf as a supported editor across contracts, server launch resolution, and the web open-picker UI.

Defines windsurf with command candidates windsurf/surf (goto-style) and extends tests to cover command construction, --goto line/column handling, Linux fallback to surf, and Windows availability detection (windsurf.CMD). The UI now shows a Windsurf menu item (with a new WindsurfIcon) and includes a browser test that selecting it issues shellOpenInEditor with editor: "windsurf".

Reviewed by Cursor Bugbot for commit 72da08e. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add Windsurf editor support to the open-in-editor picker

Macroscope summarized 72da08e.

@github-actions github-actions Bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels May 12, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4b98603. Configure here.

Comment thread packages/contracts/src/editor.ts Outdated
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented May 12, 2026

Approvability

Verdict: Needs human review

The changes add Windsurf editor support following existing patterns. However, an unresolved review comment identifies a bug where the editor's position in the EDITORS array doesn't match test expectations, which would cause test failures.

You can customize Macroscope's approvability policy. Learn more.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: af2d6764-6c38-4185-849d-344fb5f0f757

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Add Windsurf editor definition with fallback to surf command
- Add WindsurfIcon component and picker menu option
- Add tests for Windsurf launch, line/column handling, and fallback behavior
- Configure ngrok tunnel for local development
@cameronmolen cameronmolen force-pushed the feature/windsurf-editor branch from 4b98603 to 72da08e Compare May 12, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant