Appearance
Keyboard Shortcuts
FreshAll keyboard shortcuts for Gemini Code Assist in VS Code and JetBrains.
VS Code
| Action | Windows / Linux | macOS |
|---|---|---|
| Open Quick Pick (code transformation) | Ctrl+I | Cmd+I |
| Generate code from comment | Ctrl+Enter | Ctrl+Return |
| Accept suggestion | Tab | Tab |
| Dismiss suggestion | Esc | Esc |
| Open Gemini chat | Click spark icon | Click spark icon |
JetBrains IDEs
| Action | Windows / Linux | macOS |
|---|---|---|
| Open Quick Pick | Alt+\ | Cmd+\ |
| Generate from comment | Alt+G | Option+G |
| Finish changes (file-wide) | Right-click > Gemini > Finish changes | Same |
| Accept suggestion | Tab | Tab |
| Dismiss suggestion | Esc | Esc |
| Change accept shortcut | Hover suggestion > Tab dropdown | Same |
Agent Mode Commands (VS Code)
| Command | What it shows |
|---|---|
/tools | All available tools in current session |
/mcp | MCP servers, connection status, available tools |
Code Transformation Commands
Open Quick Pick first (Ctrl+I / Alt+\):
| Command | Example usage |
|---|---|
/generate | /generate REST endpoint for user CRUD |
/fix | /fix the null check is missing here |
/doc | /doc add JSDoc to all exported functions |
/simplify | /simplify these nested conditions |
Custom Shortcuts
To change the code generation shortcut in VS Code:
- Open Command Palette (
Ctrl+Shift+P) - Search Keyboard Shortcuts
- Find Gemini Code Assist: Generate Code
- Click pencil icon > press your shortcut