Shortcuts

PyCharm shortcuts on Windows — keyboard shortcuts cheat sheet 2026

PyCharm keyboard shortcuts on Windows speed up coding significantly. The most important: Shift+Shift (search everywhere), Alt+Enter (quick fix), Ctrl+Space (code completion), Ctrl+Shift+F10 (run current file).

Most important PyCharm shortcuts on Windows

ShortcutActionDescription
Shift+ShiftSearch EverywhereFind any file, class, symbol, action
Alt+EnterQuick FixFix errors, import missing modules, generate code
Ctrl+SpaceCode CompletionBasic autocomplete
Ctrl+Shift+SpaceSmart CompletionContext-aware completion
Ctrl+BGo to DeclarationJump to where function/class is defined
Ctrl+Alt+LReformat CodeAuto-format current file
Ctrl+/Comment/UncommentToggle line comment
Ctrl+DDuplicate LineDuplicate current line
Shift+F10RunRun current configuration
Ctrl+Shift+F10Run FileRun the file you are editing
Shift+F9DebugStart debugger
F8Step OverDebugger: step over
F7Step IntoDebugger: step into function
Ctrl+Shift+AFind ActionSearch all PyCharm actions and settings
Alt+F12TerminalOpen built-in terminal

PyCharm refactoring shortcuts on Windows

ShortcutAction
Shift+F6Rename symbol
Ctrl+Alt+MExtract method
Ctrl+Alt+VExtract variable
Ctrl+Alt+FExtract field
F6Move
Ctrl+F6Change signature

Shortcut questions

PyCharm shortcuts cheat sheet — where to find the full list?

The full shortcuts reference is in Help → Keyboard Shortcuts PDF. Or press Ctrl+Shift+A and type "keymap" to open the keymap settings where you can search and customise all shortcuts. JetBrains also publishes a printable PDF at jetbrains.com/help/pycharm/keyboard-shortcuts-and-mouse-reference.html.

How to change PyCharm shortcuts to match VS Code or Sublime Text?

File → Settings → Keymap → change from "Windows" to "VS Code" or "Sublime Text" in the dropdown. PyCharm includes keymaps for VS Code, Eclipse, Emacs, Vim and others.

New to PyCharm?

Getting started guide for beginners.

Beginners guide