Keyboard Shortcuts & Command Palette
PostQode includes built-in hotkeys and VS Code commands that let you generate code, toggle full-screen view, add context to chat, and control task workflows without leaving the keyboard.
Default Keyboard Shortcuts
The PostQode extension registers the following built-in hotkeys:
| Action | Windows / Linux | macOS | When Condition | Description |
|---|---|---|---|---|
| Generate Code / Inline Edit | Ctrl+I | Cmd+I | Editor text focus | Opens inline prompt to edit or generate code in place. |
| Generate Code (Preserve) | Ctrl+Shift+I | Cmd+Shift+I | Editor text focus | Opens inline code generation preserving previous context. |
| Toggle Full Screen | Ctrl+K Ctrl+M | Cmd+K Cmd+M | !terminalFocus | Expands PostQode interface into a full-width editor tab. |
| Toggle Autocomplete | Ctrl+K Ctrl+A | Cmd+K Cmd+A | !terminalFocus | Enables or disables tab-based code completion. |
| Generate Commit Message | (SCM View) | (SCM View) | Git repository active | Generates AI commit message from staged git changes. |
Available Commands for Custom Shortcuts
You can assign custom hotkeys to any registered PostQode command in VS Code's Keyboard Shortcuts editor:
Editor & Chat Commands
| Command ID | Command Title | Description |
|---|---|---|
postqode.focusEdit | Generate Code | Opens inline code prompt at current cursor selection. |
postqode.addToChat | Add to PostQode | Sends selected code and file path to PostQode chat. |
postqode.addTerminalOutputToChat | Add Terminal Output to PostQode | Captures active terminal buffer and attaches it to chat. |
postqode.focusChatInput | Jump to Chat Input | Focuses the PostQode chat prompt input field. |
postqode.toggleFullScreen | Toggle Full Screen | Toggles full-width editor tab mode. |
postqode.explainCode | Explain with PostQode | Analyzes selected code and explains its logic. |
postqode.improveCode | Improve with PostQode | Suggests optimizations and refactorings for selected code. |
postqode.generateGitCommitMessage | Generate Commit Message | Analyzes staged diff and writes a descriptive commit message. |
Navigation & Task Lifecycle Commands
| Command ID | Command Title | Description |
|---|---|---|
postqode.SidebarProvider.focus | Focus PostQode Sidebar | Opens and focuses the PostQode primary sidebar panel. |
postqode.plusButtonClicked | New Task | Clears active conversation and starts a fresh task session. |
postqode.historyButtonClicked | View History | Opens the task history drawer to resume past tasks. |
postqode.rulesButtonClicked | Rules & Workflows | Opens the rules and automated workflows management modal. |
postqode.mcpButtonClicked | MCP Servers | Opens the Model Context Protocol server configuration modal. |
postqode.settingsButtonClicked | Settings | Navigates directly to PostQode Settings. |
postqode.accountButtonClicked | Account | Opens account and control plane credentials view. |
postqode.resetWorkspaceState | Reset Workspace State | Clears corrupted ephemeral task cache for active workspace. |
Customizing Keyboard Shortcuts in VS Code
To customize or assign new shortcuts:
- Open VS Code Keyboard Shortcuts:
- macOS:
Cmd+K Cmd+S - Windows / Linux:
Ctrl+K Ctrl+S - Or navigate to File ➔ Preferences ➔ Keyboard Shortcuts.
- macOS:
- Type
postqodein the search bar. - Hover over the desired command and click the + or Pencil icon.
- Press your desired key combination (e.g.
Cmd+Shift+PorAlt+N) and press Enter to save.
Suggested Custom Shortcuts
Here are recommended keybindings for a frictionless keyboard-only workflow:
| Workflow Action | Suggested Shortcut | Command ID |
|---|---|---|
| Focus PostQode Sidebar | Cmd+Shift+P / Ctrl+Shift+P | postqode.SidebarProvider.focus |
| Start New Task | Alt+N / Option+N | postqode.plusButtonClicked |
| Add Terminal Output | Alt+T / Option+T | postqode.addTerminalOutputToChat |
| Jump to Chat Input | Cmd+Shift+L / Ctrl+Shift+L | postqode.focusChatInput |
| Generate Commit Message | Cmd+Shift+G / Ctrl+Shift+G | postqode.generateGitCommitMessage |