Skip to content

↑↓ moveEnter openEsc close

Go to the declaration in PyCharm

PyCharm 2025.2 · 48 shortcuts · checked Nov 2026 · Source: JetBrains docs

In PyCharm, press Cmd+B (Mac), Ctrl+B (Windows, Linux).

What else uses Cmd+B? · What else uses Ctrl+B?

More PyCharm shortcuts: search and navigation

ActionMacWindowsLinux
Search everywhereShift,ShiftShift,ShiftShift,Shift
Find an actionShiftCmdACtrlShiftACtrlShiftA
Go to a classCmdOCtrlNCtrlN
Go to a fileShiftCmdOCtrlShiftNCtrlShiftN
Recent filesCmdECtrlECtrlE
Go to a lineCmdLCtrlGCtrlG
File structureCmdF12CtrlF12CtrlF12
Find usagesOptionF7AltF7AltF7
BackCmd[CtrlAlt←CtrlAlt←
ForwardCmd]CtrlAlt→CtrlAlt→

All 14 in search and navigation · All 48 PyCharm shortcuts