Keyboard Shortcuts
This page contains all keyboard shortcuts available in Sweep for JetBrains IDEs.
Core Shortcuts
Action | Mac | Windows/Linux |
---|---|---|
Open/Close Chat/Add Code to Context | ⌘ J | Ctrl J |
New Chat | ⌘ N | Ctrl N |
Toggle Normal/Search | ⌘ . | Ctrl . |
Inline Editing
Action | Mac | Windows/Linux |
---|---|---|
Open Inline Edit Prompt | ⌘ I | Ctrl I |
Toggle Editing Mode | ⌘ Shift I | Ctrl Shift Enter |
Autocomplete
Action | Key |
---|---|
Accept Next Edit Suggestion | Tab |
Jump to Next Suggested Location | Tab |
Settings & Configuration
Action | Shortcut |
---|---|
Open Settings | ⌘ , (Mac) / Ctrl , (Windows/Linux) |
Search for Sweep Settings | Double-press Shift then type "Sweep Settings" |
Quick Actions
Action | Shortcut |
---|---|
Submit Issue/Description | Ctrl 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