Essential Keyboard Shortcuts
AI Models & Their Strengths
These model recommendations are opinionated and based on general use cases. You should experiment with different models to find which ones work best for your specific needs and coding style. Each developer may have different preferences based on their workflow and the types of problems they are solving.
Best Practices
-
Code Context
- Select relevant code before starting chat
- Include imports and related types
- Provide clear and specific questions
-
Model Selection
- Switch models if not getting desired results
Common Use Cases & Workflows
Code Review
- Select code → ⌘ + L
- Ask for review
- Add context with ⌘ + ⇧ + L if needed
- Use ▶️ to apply suggestions
Quick Fixes
- Place cursor where you want to fix
- ⌘ + K for suggestions
- Use esc to dismiss if needed
Warnings and Errors
- Click error/warning indicator in Xcode’s editor near line number
- Review AI-suggested fixes
- Click ▶️ to implement changes, or use Quick Apply (⏩) for instant application
- For complex cases:
- Select problematic code and copy error/warning
- Use ⌘ + L for detailed help
- Add context as needed
- Build errors (imports, types)
- Deprecated API usage
Configuration Tips
- Customize shortcuts in Settings
- Set up system and custom prompts for repeated tasks
Common Pitfalls to Avoid
- Do not provide too little context
- Do not stick with one model if struggling
