Skip to content

Feat: Added Trae IDE support for opening current working directory#1656

Merged
juliusmarminge merged 1 commit intopingdotgg:mainfrom
lnieuwenhuis:main
Apr 1, 2026
Merged

Feat: Added Trae IDE support for opening current working directory#1656
juliusmarminge merged 1 commit intopingdotgg:mainfrom
lnieuwenhuis:main

Conversation

@lnieuwenhuis
Copy link
Copy Markdown
Contributor

@lnieuwenhuis lnieuwenhuis commented Apr 1, 2026

What Changed

I added the ability for users to open the current working directory in the Trae IDE if it is installed on the system.

Why

I use Trae as my default editor, and it was getting tiring to have to manually to to Trae to open projects every single time, so I just added it to the options of editors that can be opened.

UI Changes

This PR added the Trae icon SVG, seen in the following 2 screenshots when it's the default editor, and when in the "open" dropdown:
Screenshot 2026-04-01 at 15 45 36
Screenshot 2026-04-01 at 15 46 31

Checklist

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

Note

Low Risk
Low risk: adds a new editor entry and icon plus a few targeted tests; behavior changes are limited to editor detection/selection and command construction.

Overview
Adds Trae IDE as a first-class open in editor target across contracts, server, and web UI.

Updates EDITORS to include trae (with supportsGoto) so resolveAvailableEditors can detect it on PATH and resolveEditorLaunch can launch it (including --goto for line/column targets). The web OpenInPicker now shows Trae with a new TraeIcon, and browser/server tests are extended to cover Trae selection, launch args, and Windows availability ordering.

Written by Cursor Bugbot for commit 7a0477e. This will update automatically on new commits. Configure here.

Note

Add Trae IDE support for opening the current working directory

  • Adds trae to the EDITORS constant with supportsGoto: true and command trae.
  • Adds a TraeIcon SVG component and surfaces a 'Trae' option in the OpenInPicker when trae is in availableEditors.
  • Adds launch resolution logic in the open server for macOS, supporting both cwd-only and --goto invocations.
  • Extends Windows PATH detection to recognize trae.CMD.

Macroscope summarized 7a0477e.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 1, 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: a7a8a0a4-3825-49c5-ae3a-ae16acae67fe

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

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.

@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 Apr 1, 2026
@juliusmarminge juliusmarminge enabled auto-merge (squash) April 1, 2026 15:16
@juliusmarminge juliusmarminge merged commit 0ac59d5 into pingdotgg:main Apr 1, 2026
11 checks passed
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.

2 participants