Skip to main content

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:

ActionWindows / LinuxmacOSWhen ConditionDescription
Generate Code / Inline EditCtrl+ICmd+IEditor text focusOpens inline prompt to edit or generate code in place.
Generate Code (Preserve)Ctrl+Shift+ICmd+Shift+IEditor text focusOpens inline code generation preserving previous context.
Toggle Full ScreenCtrl+K Ctrl+MCmd+K Cmd+M!terminalFocusExpands PostQode interface into a full-width editor tab.
Toggle AutocompleteCtrl+K Ctrl+ACmd+K Cmd+A!terminalFocusEnables or disables tab-based code completion.
Generate Commit Message(SCM View)(SCM View)Git repository activeGenerates 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 IDCommand TitleDescription
postqode.focusEditGenerate CodeOpens inline code prompt at current cursor selection.
postqode.addToChatAdd to PostQodeSends selected code and file path to PostQode chat.
postqode.addTerminalOutputToChatAdd Terminal Output to PostQodeCaptures active terminal buffer and attaches it to chat.
postqode.focusChatInputJump to Chat InputFocuses the PostQode chat prompt input field.
postqode.toggleFullScreenToggle Full ScreenToggles full-width editor tab mode.
postqode.explainCodeExplain with PostQodeAnalyzes selected code and explains its logic.
postqode.improveCodeImprove with PostQodeSuggests optimizations and refactorings for selected code.
postqode.generateGitCommitMessageGenerate Commit MessageAnalyzes staged diff and writes a descriptive commit message.
Command IDCommand TitleDescription
postqode.SidebarProvider.focusFocus PostQode SidebarOpens and focuses the PostQode primary sidebar panel.
postqode.plusButtonClickedNew TaskClears active conversation and starts a fresh task session.
postqode.historyButtonClickedView HistoryOpens the task history drawer to resume past tasks.
postqode.rulesButtonClickedRules & WorkflowsOpens the rules and automated workflows management modal.
postqode.mcpButtonClickedMCP ServersOpens the Model Context Protocol server configuration modal.
postqode.settingsButtonClickedSettingsNavigates directly to PostQode Settings.
postqode.accountButtonClickedAccountOpens account and control plane credentials view.
postqode.resetWorkspaceStateReset Workspace StateClears corrupted ephemeral task cache for active workspace.

Customizing Keyboard Shortcuts in VS Code

To customize or assign new shortcuts:

  1. Open VS Code Keyboard Shortcuts:
    • macOS: Cmd+K Cmd+S
    • Windows / Linux: Ctrl+K Ctrl+S
    • Or navigate to File ➔ Preferences ➔ Keyboard Shortcuts.
  2. Type postqode in the search bar.
  3. Hover over the desired command and click the + or Pencil icon.
  4. Press your desired key combination (e.g. Cmd+Shift+P or Alt+N) and press Enter to save.

Suggested Custom Shortcuts

Here are recommended keybindings for a frictionless keyboard-only workflow:

Workflow ActionSuggested ShortcutCommand ID
Focus PostQode SidebarCmd+Shift+P / Ctrl+Shift+Ppostqode.SidebarProvider.focus
Start New TaskAlt+N / Option+Npostqode.plusButtonClicked
Add Terminal OutputAlt+T / Option+Tpostqode.addTerminalOutputToChat
Jump to Chat InputCmd+Shift+L / Ctrl+Shift+Lpostqode.focusChatInput
Generate Commit MessageCmd+Shift+G / Ctrl+Shift+Gpostqode.generateGitCommitMessage