Add Windsurf Editor Support#2654
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ 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.
ApprovabilityVerdict: 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. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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. Comment |
- 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
4b98603 to
72da08e
Compare

What Changed
WindsurfIconcomponent and picker menu optionWhy
To support opening the current project in the Windsurf IDE.
UI Changes
Before:

After:
Screen.Recording.2026-05-11.at.8.04.13.PM.mov
Checklist
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
windsurfwith command candidateswindsurf/surf(goto-style) and extends tests to cover command construction,--gotoline/column handling, Linux fallback tosurf, and Windows availability detection (windsurf.CMD). The UI now shows a Windsurf menu item (with a newWindsurfIcon) and includes a browser test that selecting it issuesshellOpenInEditorwitheditor: "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
windsurfeditor definition topackages/contracts/src/editor.tswith command candidateswindsurfandsurfandgoto-style launching.WindsurfIconcomponent toapps/web/src/components/Icons.tsxand surfaces a 'Windsurf' option inOpenInPickerwhenwindsurfis inavailableEditors.apps/server/src/open.test.tsto detectwindsurfon macOS/Linux (falling back tosurf) and viawindsurf.CMDon Windows.Macroscope summarized 72da08e.