PyCharm

PyCharm Shortcuts

PyCharm keyboard shortcuts for Python development: refactoring, debugging, navigation and the IntelliJ keymap. v2026.1

Source: Official documentation · Updated 2026-06

Shortcuts
4
Categories

Cheat sheet guide

PyCharm shortcuts worth learning first

This page collects 32 searchable PyCharm keyboard shortcuts across 4 categories. Start with the shortcuts for General, Editing, Navigation, Refactor And Run, then print the cheat sheet once the important ones are worth keeping nearby.

  • Search EverywhereDoubleShift
  • Basic CompletionCtrlSpace
  • Go To DeclarationCtrlB
  • Refactor ThisCtrlAltShiftT
  • Find ActionCtrlShiftA
  • Show Context ActionsAltEnter

General

8 shortcuts
Search Everywhere
DoubleShift
Find Action
CtrlShiftA
Show Context Actions
AltEnter
Open Settings
CtrlAltS
Recent Files
CtrlE
Focus Project Tool Window
Alt1
Focus Editor
Esc
Help Keyboard Shortcuts
CtrlShiftA

Editing

8 shortcuts
Basic Completion
CtrlSpace
Complete Current Statement
CtrlShiftEnter
Reformat Code
CtrlAltL
Optimize Imports
CtrlAltO
Comment With Line Comment
Ctrl/
Comment With Block Comment
CtrlShift/
Extend Selection
CtrlW
Shrink Selection
CtrlShiftW

Navigation

8 shortcuts
Go To Declaration
CtrlB
Go To Implementation
CtrlAltB
Find Usages
AltF7
Go To Class
CtrlN
Go To File
CtrlShiftN
Go To Symbol
CtrlAltShiftN
Next Highlighted Error
F2
Previous Highlighted Error
ShiftF2

Refactor And Run

8 shortcuts
Refactor This
CtrlAltShiftT
Rename
ShiftF6
Extract Variable
CtrlAltV
Extract Method
CtrlAltM
Run
ShiftF10
Debug
ShiftF9
Toggle Line Breakpoint
CtrlF8
Step Over
F8

Frequently asked questions

What is the fastest way to find PyCharm shortcuts on this page?

Use the search box or press /, then type an action such as search everywhere.

Can I print this PyCharm shortcut cheat sheet?

Yes. Use the Print / PDF button or your browser print command to save a compact cheat sheet.

Does this page include Windows and Mac shortcuts for PyCharm?

Yes. Use the OS tabs to switch between Windows and macOS shortcuts. For example, Search Everywhere is Double Shift on Windows and Double ⇧ on macOS where available.

See also

No shortcuts match your search.