How to Configure AI Settings in Trae IDE
Trae provides various AI settings to customize your development experience. Here's how to manage them:
Accessing AI Settings
- Click the profile icon in the top right corner of Trae
- Select Settings from the dropdown menu
- From the left navigation bar, select Trae AI
Available Settings
AI Chat Language
Configure the language used for AI chat interactions:
- Auto: Responds in the language used in your question. Falls back to previous conversation language or Trae's display language if unclear
- 中文: Sets Chinese as default response language
- English: Sets English as default response language
Code Index Management
Trae AI can build a code index for your project to provide more accurate contextual responses when using #Workspace or #Folder commands.
Note: Without a complete index, using these commands may result in incomplete context and answers. The Reference section will indicate if indexing is in progress or not built.
Available operations:
Start Building
- Automatic for projects with ≤5,000 files
- Manual start required for larger projects
Cancel Building
- Stop index building if exceptions occur
Rebuild
- Restart previous build attempt
Clear Index
- Remove existing code index
AI Chat Shortcuts
- Click Go to Settings in the Shortcut Settings section to open the Keyboard Shortcuts window
- Customize AI chat keyboard shortcuts to match your preferences
- For detailed information, refer to "Shortcut settings"