Trae Tool Guide
Updated July 2026
Trae is an AI coding workspace for repository tasks. PromptDC Desktop rewrites selected requests in place in Trae and also works in the integrated terminal.
Trae tool guide
Rewrite prompts in place inside Trae.
Works everywhere
PromptDC Desktop works in any app on Mac or Windows. The Chrome extension covers any website.
In-Place Rewrites
Transform rough notes into clear, structured instructions instantly.
See PromptDC in Action
This demo shows the standard PromptDC flow, and it works the same way in Trae.
Why Use PromptDC with Trae?
What changes when you rewrite prompts with PromptDC inside Trae.
Rewrite in Trae
Select a draft in Trae, press Command+Shift+E on Mac or Ctrl+Shift+E on Windows, review the rewrite, and choose Replace.
Structured Trae Requests
The Code profile turns a rough Trae request into implementation-ready instructions covering task, files, constraints, compatibility rules, and verification.
Integrated Terminal
PromptDC Desktop also rewrites selected text in the integrated terminal, so you can refine shell or coding instructions without leaving Trae.
Default Profile for Trae
Set Code as the default profile for Trae, and assign per-profile shortcuts for other rewrite tasks.
Reusable Project Rules
Use Always Include to carry repository conventions, protected files, and required commands into each Trae rewrite.
Formats and Languages
Choose Text, JSON, XML, or YAML for the rewritten Trae request, and select its output language.
Before and after prompts for Trae
See how specific context, constraints, and outcomes turn a rough request into a prompt Trae can act on.
Implement a typed client
Before PromptDC
Create an API client for users.
After PromptDC
Implement under src/services/users. Use the current fetch wrapper and generated User types. Support list, get, create, update, and deactivate. Propagate ApiError and AbortSignal. Test with the repository's request mocks.
Why this is better: Repository abstractions, operations, typed errors, cancellation, and tests guide Trae.
Find a memory leak
Before PromptDC
The editor gets slow after a while.
After PromptDC
Profile repeated editor open and close cycles. Inspect listeners, observers, timers, and cached documents. State the retained object path before editing. Preserve autosave and collaborative presence. Verify with a 30-cycle comparison.
Why this is better: Profiling evidence, likely sources, protected behavior, and measurement target the leak.
Migrate a database column
Before PromptDC
Rename customer_name to display_name.
After PromptDC
Perform a zero-downtime compatible rename. Add then batch-backfill display_name. Support both app versions during rollout. Do not drop customer_name in this change. Provide deploy, cleanup, and rollback order.
Why this is better: The migration accounts for compatibility, lock risk, phased deployment, and rollback.
Frequently Asked Questions
Learn shortcuts & usage?
Read the shortcuts docs
Need assistance with Trae?
Contact help & support

Write better with AI
Enhance any text you select on the desktop, on the web, in your editor or terminals.
Download PromptDC