IDE Integration
OpenCode integrates with VS Code, Cursor, and other IDEs through terminal access.
Key Features
Quick Launch
- Mac:
Cmd+Escopens OpenCode in split terminal - Windows/Linux:
Ctrl+Esc
New Session
- Mac:
Cmd+Shift+Escstarts fresh terminal - Windows/Linux:
Ctrl+Shift+Esc
File References
Insert file references: Cmd+Option+K (Mac) or Alt+Ctrl+K (Linux/Windows)
Notation: @File#L37-42
Installation
Automatic
- Open IDE's integrated terminal
- Execute
opencode - Extension installs automatically
Manual
Search Extension Marketplace for "OpenCode" and click Install.
Troubleshooting
- Verify running from integrated terminal
- Confirm IDE CLI is installed (code, cursor, windsurf)
- Use
Cmd+Shift+Pto install shell commands - Ensure extension permissions are enabled