PyCharm!


1
Live Templates
2
  Shortcut Key   Description
1 Ctrl+Alt+J Surround with Live Template
2 Ctrl+J Insert Live Template
2
Usage Search
3
  Shortcut Key   Description
1 Alt+F7 / Ctrl+F7 Find usages / Find usages in file
2 Ctrl+Shift+F7 Highlight usages in file
3 Ctrl+Alt+F7 Show usages
3
Editing
40
  Shortcut Key   Description
1 Ctrl+Space Basic code completion (the name of any class, method or variable)
2 Ctrl+Alt+Space Class name completion (the name of any project class independently of current imports)
3 Ctrl+Shift+Enter Complete statement
4 Ctrl+P Parameter info (within method call arguments)
5 Ctrl+Q Quick documents lookup
6 Shift+F1 External Doc
7 Ctrl+mouse over code Brief Info
8 Ctrl+F1 Show descriptions of error or warning at caret
9 Alt+Insert Generate code
10 Ctrl+O Override methods
11 Ctrl+Alt+T Surrond with
12 Ctrl+/ Comment / uncomment with line comment
13 Ctrl+Shift+/ Comment / uncomment with block comment
14 Ctrl+W Select successively increasing code blocks
15 Ctrl+Shift+W Decrease current selection to previous state
16 Ctrl+Shift+] Select till code block end
17 Ctrl+Shift+[ Select till code block start
18 Alt+Enter Show intention actions and quick-fixes
19 Ctrl+Alt+L Reformat code
20 Ctrl+Alt+O Omptimize imports
21 Ctrl+Alt+I Auto-indent line(s)
22 Tab Indent selected lines
23 Shift+Tab Unindent selected lines
24 Ctrl+X,Shift+Delete Cut current line or selected block to clipboard
25 Ctrl+C,Ctrl+Insert Copy current line or selected block to clipboard
26 Ctrl+V,Shift+Insert Paste from clipboard
27 Ctrl+Shift+V Paste from recent buffers...
28 Ctrl+D Duplicate current line or selected block
29 Ctrl+Y Delete line at caret
30 Ctrl+Shift+J Smart line join
31 Ctrl+Enter Smart line Split
32 Shift+Enter Start new line
33 Ctrl+Shift+U Toggle case for word at caret or selected block
34 Ctrl+Delete Delete to word end
35 Ctrl+Backspace Delete to word start
36 Ctrl+Numpad+ Expand code block
37 Ctrl+Numpad- Collapse code block
38 Ctrl+Shift+Numpad+ Expand all
39 Ctrl+Shift+Numpad- Collapse all
40 Ctrl+F4 Close active editor tab
4
Navigation
34
  Shortcut Key   Description
1 Ctrl+N Go to class
2 Ctrl+Shift+N Go to file
3 Ctrl+Alt+Shift+N Go to symbol
4 Alt+Right Go to next editor tab
5 Alt+Left Go to previous editor tab
6 F12 Go back to previous tool window
7 Esc Go to editor (from tool window)
8 Shift+Esc Hide active or last active window
9 Ctrl+Shift+F4 Close active run / messages / find / tab
10 Ctrl+G Go to line
11 Ctrl+E Recent files popup
12 Ctrl+Alt+Right Navigate forward
13 Ctrl+Alt+Left Navigate back
14 Ctrl+Shift+Backspace Navigate to last edit location
15 Alt+F1 Select current file or symbol in any view
16 Ctrl+B,Ctrl+Click Go to declaration
17 Ctrl+Alt+B Go to implementation(s)
18 Ctrl+Shift+I Open quick definition lookup
19 Ctrl+Alt+B Go to type declaration
20 Ctrl+U Go to super-method / super-class
21 Alt+Up / Down Go to previous / next method
22 Ctrl+] / [ Move to code block end/start
23 Ctrl+F12 File structure popup
24 Ctrl+H Type hierarchy
25 Ctrl+Shift+H Method hierarchy
26 Ctrl+Alt+H Call hierarchy
27 F2 / Shift+F2 Next / previous highlighted error
28 F4 Edit source
29 Ctrl+Enter View source
30 Alt+Home Show navigation bar
31 F11 Toggle bookmark
32 Ctrl+Shift+F11 Toogle bookmark with mnemonic
33 Ctrl+[0-9] Go to numbered bookmark
34 Shift+F11 Show bookmarks
5
VCS/Local History
4
  Shortcut Key   Description
1 Ctrl+K Commit project to VCS
2 Ctrl+T Update project from VCS
3 Alt+Shift+C View recent changes
4 Alt+` 'VCS' quick popup
6
Running
6
  Shortcut Key   Description
1 Alt+Shift+F10 Select configuration and run
2 Alt+Shift+F9 Select configuration and debug
3 Shift+F10 Run
4 Shift+F9 Debug
5 Ctrl+Shift+F10 Run context configuration from editor
6 Ctrl+Alt+R Run manage.py task
7
Debugging
8
  Shortcut Key   Description
1 F8 / F7 Step over / into
2 Shift+F8 Step out
3 Alt+F9 Run to cursor
4 Alt+F8 Evaluate expression
5 Ctrl+Alt+F8 Quick evaluate expression
6 F9 Resume program
7 Ctrl+F8 Toggle breakpoint
8 Ctrl+Shift+F8 View breakpoints
8
Search / Replace
4
  Shortcut Key   Description
1 Ctrl+F / Ctrl+R Find / Replace
2 F3 / Shift+F3 Find next / previous
3 Ctrl+Shift+F Find in path
4 Ctrl+Shift+R Replace in path
9
Refactoring
10
  Shortcut Key   Description
1 F5+F6 Copy / Move
2 Alt+Delete Safe Delete
3 Shift+F6 Rename
4 Ctrl+F6 Change Signature
5 Ctrl+Alt+N Inline
6 Ctrl+Alt+M Extract Method
7 Ctrl+Alt+V Extract Variable
8 Ctrl+Alt+F Extract Field
9 Ctrl+Alt+C Extract Constant
10 Ctrl+Alt+P Extract Parameter
10
General
9
  Shortcut Key   Description
1 Alt+[0-9] Open corresponding tool window
2 Ctrl+S Sace all
3 Ctrl+Alt+Y Synchronize
4 Ctrl+Shift+F12 Toggle maximizing editor
5 Alt+Shift+F Add to Favorites
6 Alt+Shift+I Inspect current file with current profile
6 Ctrl+` Quick switch current scheme
7 Ctrl+Alt+S Open Settings dialog
8 Ctrl+Shift+A Find Action
9 Ctrl+Tab Switch between tabs and tool window