PyCharm Keyboard Shortcuts

PyCharm keyboard shortcut reference covering 130 bindings for Windows, Mac & Linux. Commonly searched bindings include Find action, Open a tool window, and Synchronize. 130 of 130 shortcuts are verified against official PyCharm documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.

Official PyCharm documentation

ANALYZE AND EXPLORE

ActionDescriptionWindowsMacVerifiedSource
Show error description Show error description Ctrl+F1 Cmd+F1 Yes Source
Next Next F2 F2 Yes Source
previous highlighted error previous highlighted error Shift+F2 Shift+F2 Yes Source
Run inspection by name Run inspection by name Ctrl+Alt+Shift+I Cmd+Option+Shift+I Yes Source
Type Type Ctrl+H Cmd+H Yes Source
call hierarchy call hierarchy Ctrl+Alt+H Cmd+Option+H Yes Source

CREATE AND EDIT

ActionDescriptionWindowsMacVerifiedSource
Show intention actions Show intention actions Alt+Enter Option+Enter Yes Source
Basic code completion Basic code completion Ctrl+Space Cmd+Space Yes Source
Smart code completion Smart code completion Ctrl+Shift+Space Cmd+Shift+Space Yes Source
Type nam e completion Type nam e completion Ctrl+Alt+Space Cmd+Option+Space Yes Source
Complete statement Complete statement Ctrl+Shift+Enter Cmd+Shift+Enter Yes Source
Parameter information Parameter information Ctrl+P Cmd+P Yes Source
context info context info Alt+Q Option+Q Yes Source
Quick definition Quick definition Ctrl+Shift+I Cmd+Shift+I Yes Source
Quick Quick Ctrl+Q Cmd+Q Yes Source
external documentation external documentation Shift+F1 Shift+F1 Yes Source
Generate code Generate code Alt+Insert Option+Insert Yes Source
Override Override Ctrl+O Cmd+O Yes Source
implement members implement members Ctrl+I Cmd+I Yes Source
Surround with Surround with Ctrl+Alt+T Cmd+Option+T Yes Source
Comment with line comment Comment with line comment Ctrl Cmd Yes Source
Extend Extend Ctrl+W Cmd+W Yes Source
shrink selection shrink selection Ctrl+Shift+W Cmd+Shift+W Yes Source
Optimize imports Optimize imports Ctrl+Alt+O Cmd+Option+O Yes Source
Auto-indent lines Auto-indent lines Ctrl+Alt+I Cmd+Option+I Yes Source
Cut Cut Ctrl+C Cmd+C Yes Source
Сopy Сopy Ctrl+V Cmd+V Yes Source
Copy document path Copy document path Ctrl+Shift+C Cmd+Shift+C Yes Source
Paste from clipboard history Paste from clipboard history Ctrl+Shift+V Cmd+Shift+V Yes Source
Duplicate current line or selection Duplicate current line or selection Ctrl+D Cmd+D Yes Source
Move line up Move line up Ctrl+Shift+Up Cmd+Shift+Up Yes Source
down down Ctrl+Shift+Down Cmd+Shift+Down Yes Source
Delete line at caret Delete line at caret Ctrl+Y Cmd+Y Yes Source
Join Join Ctrl+Shift+J Cmd+Shift+J Yes Source
split line split line Ctrl+Enter Cmd+Enter Yes Source
Start new line Start new line Shift+Enter Shift+Enter Yes Source
Toggle case Toggle case Ctrl+Shift+U Cmd+Shift+U Yes Source
Expand Expand - - Yes Source
Save all Save all Ctrl+S Cmd+S Yes Source

FIND EVERYTHING

ActionDescriptionWindowsMacVerifiedSource
Search everywhere Double Search everywhere Double Shift Shift Yes Source
Find Find Ctrl+F Cmd+F Yes Source
replace replace Ctrl+R Cmd+R Yes Source
Find in path Find in path Ctrl+Shift+F Cmd+Shift+F Yes Source
Replace in path Replace in path Ctrl+Shift+R Cmd+Shift+R Yes Source
Next Next F3 F3 Yes Source
previous occurence previous occurence Shift+F3 Shift+F3 Yes Source
Find word at caret Find word at caret Ctrl+F3 Cmd+F3 Yes Source
Go to class Go to class Ctrl+N Cmd+N Yes Source
file file Ctrl+Shift+N Cmd+Shift+N Yes Source
Go to file member Go to file member Ctrl+F12 Cmd+F12 Yes Source
Go to symbol Go to symbol Ctrl+Alt+Shift+N Cmd+Option+Shift+N Yes Source

MASTER YOUR IDE

ActionDescriptionWindowsMacVerifiedSource
Find action Find action Ctrl+Shift+A Cmd+Shift+A Yes Source
Open a tool window Open a tool window Alt+1 Option+1 Yes Source
Synchronize Synchronize Ctrl+Alt+Y Cmd+Option+Y Yes Source
Quick switch scheme Quick switch scheme Ctrl+` Cmd+` Yes Source
Settings Settings Ctrl+Alt+S Cmd+Option+S Yes Source
Jump to source Jump to source F4 F4 Yes Source
navigation bar navigation bar Alt+Home Option+Home Yes Source
Jump to last tool window Jump to last tool window F12 F12 Yes Source
Hide active Hide active Shift+Escape Shift+Escape Yes Source
all tool windows all tool windows Ctrl+Shift+F12 Cmd+Shift+F12 Yes Source
Go to next Go to next Alt+Right Option+Right Yes Source
previous editor tab previous editor tab Alt+Left Option+Left Yes Source
Go to editor (from a tool window) Go to editor (from a tool window) Escape Escape Yes Source
Close active tab Close active tab Ctrl+Shift+F4 Cmd+Shift+F4 Yes Source
window window Ctrl+F4 Cmd+F4 Yes Source

NAVIGATE FROM SYMBOLS

ActionDescriptionWindowsMacVerifiedSource
Declaration Declaration Ctrl+B Cmd+B Yes Source
Type declaration (JavaScript only) Type declaration (JavaScript only) Ctrl+Shift+B Cmd+Shift+B Yes Source
Super method Super method Ctrl+U Cmd+U Yes Source
Implementation(s) Implementation(s) Ctrl+Alt+B Cmd+Option+B Yes Source
Find usages Find usages Alt+F7 Option+F7 Yes Source
Find usages in file Find usages in file Ctrl+F7 Cmd+F7 Yes Source
Highlight usages in file Highlight usages in file Ctrl+Shift+F7 Cmd+Shift+F7 Yes Source
Show usages Show usages Ctrl+Alt+F7 Cmd+Option+F7 Yes Source

NAVIGATE IN CONTEXT

ActionDescriptionWindowsMacVerifiedSource
Select in Select in Alt+F1 Option+F1 Yes Source
Recently viewed Recently viewed Ctrl+E Cmd+E Yes Source
Recent locations Recent locations Ctrl+Shift+E Cmd+Shift+E Yes Source
Navigate back Navigate back Ctrl+Alt+Left Cmd+Option+Left Yes Source
forward forward Ctrl+Alt+Right Cmd+Option+Right Yes Source
Go to previous Go to previous Alt+Up Option+Up Yes Source
next method next method Alt+Down Option+Down Yes Source
Go to line Go to line Ctrl+G Cmd+G Yes Source
Go to code block end Go to code block end Ctrl+] Cmd+] Yes Source
start start Ctrl+[ Cmd+[ Yes Source
Add to favorites Add to favorites Alt+Shift+F Option+Shift+F Yes Source
Toggle book mark Toggle book mark F11 F11 Yes Source
Toggle book mark with mnemonic Toggle book mark with mnemonic Ctrl+F11 Cmd+F11 Yes Source
Go to numbered bookmark Go to numbered bookmark Ctrl+1 Cmd+1 Yes Source
Show bookmarks Show bookmarks Shift+F11 Shift+F11 Yes Source
Run context configuration Run context configuration Ctrl+Shift+F10 Cmd+Shift+F10 Yes Source
Run Run Alt+Shift+F10 Option+Shift+F10 Yes Source
debug selec ted configuration debug selec ted configuration Alt+Shift+F9 Option+Shift+F9 Yes Source
Run Run Shift+F10 Shift+F10 Yes Source
debug current configuration debug current configuration Shift+F9 Shift+F9 Yes Source
Step over Step over F8 F8 Yes Source
into into F7 F7 Yes Source
Smart step into Smart step into Shift+F7 Shift+F7 Yes Source
Step out Step out Shift+F8 Shift+F8 Yes Source
Run to cursor Run to cursor Alt+F9 Option+F9 Yes Source
Force run to cursor Force run to cursor Ctrl+Alt+F9 Cmd+Option+F9 Yes Source
Show execution point Show execution point Alt+F10 Option+F10 Yes Source
Evaluate expression Evaluate expression Alt+F8 Option+F8 Yes Source
Stop Stop Ctrl+F2 Cmd+F2 Yes Source
Stop background processes Stop background processes Ctrl+Shift+F2 Cmd+Shift+F2 Yes Source
Resume program Resume program F9 F9 Yes Source
Toggle line breakpoint Toggle line breakpoint Ctrl+F8 Cmd+F8 Yes Source
Toggle temporary line breakpoint Toggle temporary line breakpoint Ctrl+Alt+Shift+F8 Cmd+Option+Shift+F8 Yes Source
Edit Edit Ctrl+Shift+F8 Cmd+Shift+F8 Yes Source

REFACTOR AND CLEAN UP

ActionDescriptionWindowsMacVerifiedSource
Refactor this Refactor this Ctrl+Alt+Shift+T Cmd+Option+Shift+T Yes Source
Copy Copy F5 F5 Yes Source
Move Move F6 F6 Yes Source
Safe delete Safe delete Alt+Delete Option+Delete Yes Source
Rename Rename Shift+F6 Shift+F6 Yes Source
Change signature Change signature Ctrl+F6 Cmd+F6 Yes Source
Inline Inline Ctrl+Alt+N Cmd+Option+N Yes Source
Extract method Extract method Ctrl+Alt+M Cmd+Option+M Yes Source
Introduce variable Introduce variable Ctrl+Alt+V Cmd+Option+V Yes Source
parameter parameter Ctrl+Alt+P Cmd+Option+P Yes Source
Introduce field Introduce field Ctrl+Alt+F Cmd+Option+F Yes Source
constant constant Ctrl+Alt+C Cmd+Option+C Yes Source
Reformat code Reformat code Ctrl+Alt+L Cmd+Option+L Yes Source
Find any action inside the IDE Find any action inside the IDE Ctrl+Shift+A Cmd+Shift+A Yes Source

VERSION CONTROL

ActionDescriptionWindowsMacVerifiedSource
VCS operations popup VCS operations popup Alt+` Option+` Yes Source
Commit Commit Ctrl+K Cmd+K Yes Source
Update project Update project Ctrl+T Cmd+T Yes Source
Recent changes Recent changes Alt+Shift+C Option+Shift+C Yes Source
Revert Revert Ctrl+Alt+Z Cmd+Option+Z Yes Source
Push Push Ctrl+Shift+K Cmd+Shift+K Yes Source
Next Next Ctrl+Alt+Shift+Down Cmd+Option+Shift+Down Yes Source
previous change previous change Ctrl+Alt+Shift+Up Cmd+Option+Shift+Up Yes Source

← All apps on Shortcut Atlas

Loading Shortcut Atlas…