Skip to main content

PyCharm Shortcuts

This page is a complete keyboard shortcut reference for PyCharm on macOS, covering all 52 shortcuts organized into 6 sections. Whether you’re new to PyCharm or looking to master advanced features, this cheat sheet has every key combination you need — from basic editing and navigation to app-specific power-user actions.

Keyboard shortcuts are the fastest way to work in PyCharm. Every time you use a shortcut instead of reaching for the mouse, you save a few seconds — and those seconds compound into hours over weeks and months. Start with the shortcuts you use most (copy, paste, undo, save), then gradually add app-specific ones as they become relevant to your workflow. Bookmark this page or download the PDF cheat sheet for quick reference.

Using keyboard shortcuts in PyCharm reduces context switching between keyboard and mouse, helping you maintain focus and work more efficiently. Research shows that shortcut-driven workflows can save up to 8 working days per year compared to menu-driven navigation. On macOS, most PyCharm shortcuts follow standard conventions — once you learn the modifier key patterns, new shortcuts become intuitive.

Tips for Learning Shortcuts

  • Practice one new PyCharm shortcut each day. Muscle memory builds faster when you focus on a single combination at a time rather than trying to learn them all at once.
  • Print or bookmark this page for quick reference while working in PyCharm. Having shortcuts visible nearby helps bridge the gap between looking them up and recalling them from memory.
  • Start with the shortcuts you use most. In PyCharm, common actions like copy, paste, undo, and save are worth learning first since they apply across nearly every workflow.

Search & Navigation12

ActionShortcut
Search Everywhere⇧⇧
Find ActionA
Open ClassO
Open FileO
Open SymbolO
Recent FilesE
Go To DeclarationB
Go To ImplementationB
Find UsagesF7
Next ErrorF2
Navigate Back[
Navigate Forward]

Editing13

ActionShortcut
Code CompletionSpace
Context Actions
Complete Statement
Duplicate LineD
Delete LineDelete
Move Statement Up
Move Statement Down
Line Comment/
Block Comment/
Extend Selection
Shrink Selection
Reformat CodeL
GenerateN

Find & Replace4

ActionShortcut
FindF
ReplaceR
Find In PathF
Replace In PathR

Run & Debug10

ActionShortcut
RunR
DebugD
Choose Run ConfigR
Choose Debug ConfigD
Step OverF8
Step IntoF7
Step OutF8
Run To CursorF9
Evaluate ExpressionF8
Toggle BreakpointF2

Refactoring5

ActionShortcut
Refactor ThisT
RenameF6
Extract MethodM
Extract VariableV
Extract ConstantC

Tool Windows & VCS8

ActionShortcut
Project Window1
Run Window4
Debug Window5
Structure Window7
Vcs Window9
TerminalF12
CommitK
Settings,

Frequently Asked Questions

Access PyCharm shortcuts from your menu bar

KeyShortcut detects the active app and shows its shortcuts instantly. No memorization needed.