Catalog / PyCharm IDE Shortcuts Cheatsheet

PyCharm IDE Shortcuts Cheatsheet

A comprehensive cheat sheet covering essential PyCharm shortcuts for increased productivity. Master navigation, editing, refactoring, debugging, and more.

Basic Navigation

File and Code Navigation

Ctrl+Shift+N

Go to File…

Ctrl+N

Go to Class…

Ctrl+Shift+Alt+N

Go to Symbol…

Double Shift

Search Everywhere

Ctrl+B or Ctrl+Click

Go to Declaration or Usages

Ctrl+Alt+B

Go to Implementation(s)

Ctrl+U

Go to Super-method/Super-class

Alt+Up/Down

Go to Previous/Next Method

Navigating within a file

Ctrl+G

Go to Line…

Ctrl+E

Recent Files Popup

Ctrl+Shift+E

Recent Locations Popup

Alt+Left/Right

Navigate backward/forward

Ctrl+Shift+Backspace

Navigate to last edit location

Editing and Code Completion

Basic Editing

Ctrl+Space

Basic code completion (names, keywords…)

Ctrl+Shift+Space

Smart code completion (filters types)

Ctrl+Alt+Space

Class name completion

Ctrl+Shift+Enter

Complete statement

Ctrl+P

Parameter info (within method call arguments)

Ctrl+Q

Quick documentation lookup

Code Manipulation

Ctrl+D

Duplicate line or selection

Ctrl+Y

Delete line at caret

Ctrl+Shift+J

Smart line join

Ctrl+Alt+L

Reformat code

Ctrl+Alt+I

Auto-indent line(s)

Tab / Shift+Tab

Indent/unindent selected lines

Alt+Insert

Generate code (getters, setters, constructors…)

Refactoring

Refactoring Actions

Ctrl+Alt+Shift+T

Refactor This…

Shift+F6

Rename

Ctrl+F6

Change Signature

Ctrl+Alt+N

Inline

Ctrl+Alt+M

Extract Method

Ctrl+Alt+V

Extract Variable

Ctrl+Alt+C

Extract Constant

Ctrl+Alt+F

Extract Field

Debugging and Testing

Debugging

F9

Resume program

Ctrl+F8

Toggle breakpoint

Ctrl+Shift+F8

View Breakpoints

F7

Step Into

Shift+F8

Step Out

F8

Step Over

Alt+F9

Run to Cursor

Alt+F8

Evaluate Expression

Testing

Ctrl+Shift+T

Create New Test

Ctrl+Alt+R

Run Test