Keyboard Shortcuts

Keyboard Shortcuts

This page contains all keyboard shortcuts available in Sweep for JetBrains IDEs.

Core Shortcuts

ActionMacWindows/Linux
Open/Close Chat/Add Code to Context⌘ JCtrl J
New Chat⌘ NCtrl N
Toggle Normal/Search⌘ .Ctrl .

Inline Editing

ActionMacWindows/Linux
Open Inline Edit Prompt⌘ ICtrl I
Toggle Editing Mode⌘ Shift ICtrl Shift Enter

Autocomplete

ActionKey
Accept Next Edit SuggestionTab
Jump to Next Suggested LocationTab

Settings & Configuration

ActionShortcut
Open Settings⌘ , (Mac) / Ctrl , (Windows/Linux)
Search for Sweep SettingsDouble-press Shift then type "Sweep Settings"

Quick Actions

ActionShortcut
Submit Issue/DescriptionCtrl Enter

Tips

  • Agent Mode: Use ⌘/Ctrl J to quickly open the Sweep sidebar and start chatting with the AI agent
  • File Mentions: Use @filename.py in chat to add specific files to context
  • Code Selection: Highlight code and press ⌘/Ctrl J to add it directly to your chat context
  • Tab Navigation: In autocomplete mode, press Tab repeatedly to jump between suggested edit locations
  • Quick Settings: Double-press Shift and search for "Sweep Settings" to quickly access configuration options

Mode-Specific Shortcuts

Agent Mode

  • ⌘/Ctrl J: Open chat and automatically search codebase for context
  • ⌘/Ctrl N: Start a new conversation thread

Chat Mode

  • ⌘/Ctrl J: Open chat for context search without automatic code changes
  • Use @ mentions to specify files for context

Manual Mode

  • ⌘/Ctrl J: Open chat without codebase search or automatic edits
  • Requires manual file specification for context

Inline Editing Mode

  • ⌘/Ctrl I: Quick edits on selected code
  • ⌘ Shift I (Mac) / Ctrl Shift Enter (Windows/Linux): Toggle between inline and full file editing