Feature request: Support Trae IDE as an editor target in Codex Desktop
Feature request
Please add Trae / Trae CN as a supported editor target in the Codex Desktop app's "Open in editor" picker.
Motivation
Trae is a VS Code fork, and on macOS it exposes a VS Code-compatible CLI. Codex Desktop already supports editor targets such as VS Code, Sublime Text, Zed, Finder, Terminal, iTerm2, Xcode, GoLand, and RustRover. Adding Trae would let users open files and file locations from Codex Desktop directly in Trae.
Local environment
- Codex Desktop: macOS app
- macOS: macOS 15.6.1, Apple Silicon
- Trae app path:
/Applications/Trae CN.app - Trae bundle ID:
cn.trae.app - Trae CLI paths:
/Applications/Trae CN.app/Contents/Resources/app/bin/trae-cn/Applications/Trae CN.app/Contents/Resources/app/bin/code
Compatibility notes
The Trae CLI appears to support VS Code-style arguments, including:
trae-cn --goto <file:line[:character]>
I verified that launching Trae with a file location through --goto works locally.
Expected behavior
Codex Desktop should show "Trae" or "Trae CN" in the editor target picker. When selected, opening a file from Codex should run the Trae CLI with VS Code-compatible --goto arguments.
Suggested implementation
This could likely reuse the existing VS Code editor target implementation, with Trae-specific detection paths on macOS:
/Applications/Trae CN.app/Contents/Resources/app/bin/trae-cn
/Applications/Trae CN.app/Contents/Resources/app/bin/code
Optional additional target:
/Applications/TRAE SOLO CN.app/Contents/Resources/app/bin/trae-solo-cn
Related issue
There is an existing TRAE-related issue for the IDE extension:
https://github.com/openai/codex/issues/15780
This request is different: it is about Codex Desktop supporting Trae as an external editor target.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗