Pycharm

Pycharm - Programmer Sheet

General Shortcuts

Shortcut Action
Alt + 0..9 Open Corresponding Tool Window
Ctrl + S Save All
Ctrl + Alt + Y Synchronize
Ctrl + Shift + F12 Toggle Maximize Editor
Ctrl + Shift + A Find Action
Esc Go to Editor
Ctrl + Tab Switch Editor Tabs and IDE Tool Windows
Ctrl + Alt + S Open Setting Dialog
Ctrl + ` Quick Switch Current Scheme
Alt + Shift + F Add to Favourites
Alt + Shift + I Inspect Current file with Current file

Find and Replace

Shortcut Action
Ctrl + F Find
Ctrl + R Replace
F3 Find Next
Shift + F3 Find Previous
Ctrl + Shift + F Find in Path
Ctrl + Shift + R Replace in Path

Debugging

Shortcut Action
Alt + F9 Run to Cursor
Shift + F8 Step Out
F8 Step Over
F7 Step Into
Ctrl + Alt + F8 Quick Evaluate Expression
Alt + F8 Evaluate Expression
Ctrl + F8 Toggle Breakpoint
Ctrl + Shift + F8 View Breakpoints
F9 Resume Program

Compile and Run

Shortcut Action
Alt + Shift + F10 Open Run Configuration
Alt + Shift + F9 Open Debug Configuration
Shift + F10 Run
Shift + F9 Debug
Ctrl + Shift + F10 Run Context editor from Editor

Navigation

Shortcut Action
Alt + N Go to Class
Ctrl + Shift + N Go to File
Ctrl + Alt + Shift + N Go to Symbol
F2 Next highlighted Error
Shift + F2 Previous highlighted Error
Alt + PgUp Go to Top of Page
Ctrl + PgDn Go to Bottom of Page
Ctrl + G Go to Line
Ctrl + E Recent files Popup
Alt + F1 Select current file/Symbol in any View
Alt + Left Arrow / Alt + Right Arrow Go to Next/Previous Tab
Ctrl + B Go to Declaration
Ctrl + Shift + B Go to Type Declaration
Ctrl + Alt + Left Arrow Navigate back
Ctrl + Alt + Right Arrow Navigate forward
Ctrl + Shift + Backspace Go to last edit location
Ctrl + U Go to super method/super class
Ctrl + H Type Hierarchy
Ctrl + Shift + H Method Hierarchy
Ctrl + Alt + H Call Hierarchy
Ctrl + F12 File Structure Popup
F12 Go back to Previous Tool Window
F11 Toggle Bookmark
Ctrl + F12 Toggle Bookmark with Mnemonic
Shift + F11 Show Bookmarks
Ctrl + 0..9 Go to Numbered Bookmark
Alt + Home Show Navigation bar
F4 Edit Source
Ctrl + Shift + Alt + U Show Diagram
Ctrl + ] / Ctrl + [ Move to code block end/start
Alt + Up Arrow / Alt + Down Arrow Go to Previous/Next Method
Ctrl + Shift + I Open Quick Definition Lookup

Editing

Shortcut Action
Ctrl + Space Basic Code Completion
Ctrl + Shift + Enter Complete Current Statement
Ctrl + Alt + Space Class name Completion
Ctrl + Q Quick Documentation Lookup
Ctrl + Mouse Over Brief Info
Ctrl + P Parameter Information
Ctrl + O Override Methods
Alt + Insert Generate Code
Ctrl + Shift + Up Arrow / Down Arrow Move Line(Selection) Up/Down
Ctrl + Alt + T Surround With..(Begin..End etc.)
Ctrl + / Comment/Uncomment with Line Comment
Ctrl + Shift + / Comment/Uncomment with Block Comment
Ctrl + F1 Show Description of Error or Warning at Caret
Tab Indent Selected Lines
Shift + Tab Unindent Selected Lines
Alt + Enter Show Intention Actions and Quick Fixes
Ctrl + Alt + L Reformat Code
Ctrl + D Duplicate Current Line
Ctrl + X Cut Current line to Clipboard
Ctrl + C Copy Current line to Clipboard
Ctrl + V Paste Current line to Clipboard
Ctrl + Shift + V Paste from Buffer
Ctrl + Alt + I AutoIndent Lines
Ctrl + Y Delete line at caret
Shift + Enter Start New line
Ctrl + F4 Close Active editor tab
Alt + Enter Show Intention Actions/Quick-Fixes
Ctrl + Shift + W Decrease Current Selection to Previous State
Ctrl + W Select Successively Incresing Code blocks
Ctrl + Shift + + Expand All
Ctrl + Shift + - Collapse All
Ctrl + - Expand Code block
Ctrl + - Collapse Code block
Ctrl + Delete Delete to end word
Ctrl + Backspace Delete to word start
Ctrl + Shift + ] Select till code block end
Ctrl + Shift + [ Select till code block start
Shift + Alt + U Toggle Carnel/Snake Case
Ctrl + Shift + U Switch case for Word at Caret or Selected block

Refactoring

Shortcut Action
F5 Copy
F6 Move
Alt + Delete Safe Delete
Shift + F6 Rename
F5 + Alt + N Inline
Ctrl + F6 Change Signature
Ctrl + Alt + M Extract Method
Ctrl + Alt + F Introduce Field
Ctrl + Alt + P
Ctrl + Alt + C Introduce Constant
Ctrl + Alt + V Introduce Constant

Usage Search

Shortcut Action
Ctrl + F7 Find Usage in File
Alt + F7 Find Usage
Ctrl + Shift + F7 Highlight Usage in File
Ctrl + Alt + F7 Show Usage

Live Templates

Shortcut Action
Ctrl + L Insert Live Template
Ctrl + Alt + J Surround with Live Template

VCS/Local History

Shortcut Action
Ctrl + K Commit Project to VCS
Ctrl + T Update Project from VCS
Ctrl + Shift + E View Recent Changes
Alt + ` VCS Operations Popup

General Shortcuts

Shortcut Action
Option + 0..9 Open Corresponding Tool Window
Command + S Save All
Command + Option + Y Synchronize
Command + Shift + F12 Toggle Maximize Editor
Command + Tab Switch Editor Tabs and IDE Tool Windows
Command + , Open Setting Dialog
Command + W Close Current Active Tab
Command + ` Quick Switch Current Scheme
Option + Shift + F Add to Favourites
Option + Shift + I Inspect Current file with Current file

Find and Replace

Shortcut Action
Command + F Find
Command + R Replace
Command + G Find Next
Command + Shift + G Find Previous
Command + Shift + F Find in Path
Command + Shift + R Replace in Path

Debugging

Shortcut Action
Option + F9 Run to Cursor
Shift + F8 Step Out
F8 Step Over
F7 Step Into
Command + Option + F8 Quick Evaluate Expression
Option + F8 Evaluate Expression
Command + F8 Toggle Breakpoint
Command + Shift + F8 View Breakpoints
F9 Resume Program

Compile and Run

Shortcut Action
Option + Shift + F10 Open Run Configuration
Option + Shift + F9 Open Debug Configuration
Shift + F10 Run
Shift + F9 Debug
Command + Option + R Run Rake Task

Navigation

Shortcut Action
Command + N Go to Class
Command + Shift + N Go to File
Command + Option + Shift + N Go to Symbol
F2 Next highlighted Error
Shift + F2 Previous highlighted Error
Esc Go to Editor
Shift + Esc Hide Active/Last Active Window
Command + PgUp Go to Top of Page
Command + PgDn Go to Bottom of Page
Command + G Go to Line
Command + E Recent files Popup
Option + F1 Select current file/Symbol in any View
Command + Left Arrow / Command + Right Arrow Go to Next/Previous Tab
Command + B Go to Declaration
Command + Shift + B Go to Type Declaration
Command + Option + Left Arrow Navigate back
Command + Option + Right Arrow Navigate forward
Command + Shift + Backspace Go to last edit location
Command + U Go to super method/super class
Command + H Type Hierarchy
Command + Shift + H Method Hierarchy
Command + Option + H Call Hierarchy
Command + F12 File Structure Popup
F12 Go back to Previous Tool Window
F11 Toggle Bookmark
Command + F12 Toggle Bookmark with Mnemonic
Shift + F11 Show Bookmarks
Command + 0..9 Go to Numbered Bookmark
Option + Home Show Navigation bar
F4 Edit Source
Command + Shift + Option + U Show Diagram
Command + ] / Command + [ Move to code block end/start
Command + Up Arrow / Command + Down Arrow Go to Previous/Next Method
Command + Shift + I Open Quick Definition Lookup

Editing

Shortcut Action
Command + Space Basic Code Completion
Command + Shift + Enter Complete Current Statement
Command + Option + Space Class name Completion
Command + J Quick Documentation Lookup
Command + Mouse Over Brief Info
Command + P Parameter Information
Command + O Override Methods
Command + N Generate Code
Option + Shift + Up Arrow / Down Arrow Move Line(Selection) Up/Down
Command + Option + T Surround With..(Begin..End etc.)
Command + / Comment/Uncomment with Line Comment
Command + Option + / Comment/Uncomment with Block Comment
Command + F1 Show Description of Error or Warning at Caret
Tab Indent Selected Lines
Shift + Tab Unindent Selected Lines
Option + Enter Show Intention Actions and Quick Fixes
Command + Option + L Reformat Code
Command + D Duplicate Current Line
Command + X Cut Current line to Clipboard
Command + C Copy Current line to Clipboard
Command + V Paste Current line to Clipboard
Command + Shift + V Paste from Buffer
Command + Option + I AutoIndent Lines
Command + Y Delete line at caret
Shift + Enter Start New line
Command + F4 Close Active editor tab
Option + Enter Show Intention Actions/Quick-Fixes
Command + Shift + W Decrease Current Selection to Previous State
Command + W Select Successively Incresing Code blocks
Command + Shift + + Expand All
Command + Shift + - Collapse All
Command + - Expand Code block
Command + - Collapse Code block
Command + Delete Delete to end word
Command + Backspace Delete to word start
Command + Shift + ] Select till code block end
Command + Shift + [ Select till code block start
Shift + Option + U Toggle Carnel/Snake Case
Command + Shift + U Switch case for Word at Caret or Selected block

Refactoring

Shortcut Action
F5 Copy
F6 Move
Command + Del Safe Delete
Shift + F6 Rename
Command + Option + N Inline
Command + F6 Change Signature
Command + Option + M Extract Method
Command + Option + F Introduce Field
Command + Option + P
Command + Option + C Introduce Constant
Command + Option + V Introduce Constant

Usage Search

Shortcut Action
Command + F7 Find Usage in File
Option + F7 Find Usage
Command + Shift + F7 Highlight Usage in File
Command + Option + F7 Show Usage

Live Templates

Shortcut Action
Command + L Insert Live Template
Command + Option + J Surround with Live Template

VCS/Local History

Shortcut Action
Command + K Commit Project to VCS
Command + T Update Project from VCS
Option + Shift + C View Recent Changes
Command + V VCS Operations Popup