Christmas gifts: delivery dates and last-minute ideas.10% off: MODKEY10 Gift guide →

PyCharm keyboard shortcuts (Windows)

PyCharm PosterGet it on your desk →

The most used PyCharm shortcuts on Windows: Find Action (Ctrl+Shift+A), Recent files (Ctrl+E), Line comment (Ctrl+/), Context actions / quick-fix (Alt+Enter), Go to declaration or usages (Ctrl+B). This page lists all 48, from the official documentation.

48 PyCharm keyboard shortcuts for Windows, grouped into Search & general, Editing, Code assistance, Navigation, Refactor, run & debug, VCS & tool windows. Every key is copied from www.jetbrains.com (retrieved November 19, 2026) and shown on a real keyboard layout.

On Windows, 30 of these 48 shortcuts are the Mac ones with Ctrl in place of ⌘; 18 are different, for example Settings (Ctrl+Alt+S; Mac: ⌘,), Go to file (Ctrl+Shift+N; Mac: ⇧⌘O), Delete line (Ctrl+Y; Mac: ⌘⌫).

PyCharm · Desk mat · Paper

PyCharm keyboard map

Pick your keyboard and a modifier. Keys with a shortcut light up; point at or tap a key to see everything on it. Try it: hold Ctrl on your keyboard

Modifier
Keyboard
Point at or tap a key.

More shortcuts on this key with other modifiers.

With Ctrl17 keys

All PyCharm keyboard shortcuts for Windows

48 shortcuts
CommandShortcut
Find ActionCtrl+Shift+A
SettingsCtrl+Alt+S
Find in fileCtrl+F
Replace in fileCtrl+R
Find in filesCtrl+Shift+F
Go to fileCtrl+Shift+N
Recent filesCtrl+E
File structureCtrl+F12

Editing12

CommandShortcut
UndoCtrl+Z
RedoCtrl+Shift+Z
Save allCtrl+S
Duplicate line or selectionCtrl+D
Delete lineCtrl+Y
Move line upAlt+Shift+↑
Move line downAlt+Shift+↓
Line commentCtrl+/
Block commentCtrl+Shift+/
Extend selectionCtrl+W
Shrink selectionCtrl+Shift+W
Add next occurrence to selectionAlt+J

Code assistance7

CommandShortcut
Context actions / quick-fixAlt+Enter
Basic completionCtrl+Space
Complete current statementCtrl+Shift+Enter
Reformat codeCtrl+Alt+L
Parameter infoCtrl+P
Quick documentationCtrl+Q
Generate codeAlt+Ins

Navigation8

CommandShortcut
Go to declaration or usagesCtrl+B
Go to implementationCtrl+Alt+B
Find usagesAlt+F7
Navigate backCtrl+Alt+←
Navigate forwardCtrl+Alt+→
Go to lineCtrl+G
Next highlighted errorF2
Last edit locationCtrl+Shift+Backspace

Refactor, run & debug8

CommandShortcut
Refactor thisCtrl+Alt+Shift+T
RenameShift+F6
Extract functionCtrl+Alt+M
RunShift+F10
DebugShift+F9
Step overF8
Step intoF7
Toggle line breakpointCtrl+F8

VCS & tool windows5

CommandShortcut
CommitCtrl+K
PushCtrl+Shift+K
VCS operations popupAlt+`
Project tool windowAlt+1
Terminal tool windowAlt+F12

Source: JetBrains · www.jetbrains.com · retrieved . Unofficial reference. Not affiliated with JetBrains. How we source shortcuts →

Free printable PyCharm cheat sheet

The essential shortcuts on one page (PDF, 24 × 20 cm), for your keyboard and language.

PyCharm shortcut questions

What is the shortcut for “Find Action” in PyCharm on Windows?
Press Ctrl+Shift+A. That is the shortcut for “Find Action” in PyCharm on Windows, as given in the official documentation.
What is the shortcut for “Recent files” in PyCharm on Windows?
Press Ctrl+E. That is the shortcut for “Recent files” in PyCharm on Windows, as given in the official documentation.
What is the shortcut for “Line comment” in PyCharm on Windows?
Press Ctrl+/. That is the shortcut for “Line comment” in PyCharm on Windows, as given in the official documentation.
Where do these PyCharm shortcuts come from?
From JetBrains’s official documentation at www.jetbrains.com, retrieved November 19, 2026. Every key is copied from there, never from other websites.

Learn it, then print it