Show Menu
Cheatography

pycharm cheat sheet.

Run | Debug

shift+F10
Run current file
alt+sh­ift+F10
Open Run dialog box
shift+F9
Debug current file
alt+sh­ift+F9
Open Debug dialog box
ctrl+F8
toggle line breakpoint
ctrl+F5
rerun
F9
resume
F8
Step Over
F7
Step Into
Shift + F8
Step Out
Alt+F9
Run to Curser
alf+F10
Show Execution Point
ctrl+F2
Stop

File Navigation

ctrl+e
toggle between previous files
alt+sh­ift+e
toggle between previous files with code
alt+home
navigate files from current dir

Code Navigation

ctrl+F12
Floating structure window
ctrl+G
navigate to line

Source Control

ctrl+~
git branches overview
 

Code Editing

ctrl+I
Implement methods of an interface or abstract class
alt+enter
new line after current position
ctrl+y
delete line
ctrl+d­elete
delete to word end
ctrl+b­ack­space
delete to word start
alt+j
select next under curser
alt_sh­ift+j
select previous under curser
ctrl+a­lt+­shift+j
select all under curser
ctrl+s­hift+u
toggle capita­liz­ation

Code Completion

ctrl+space
code completion
ctrl+s­pac­e+space
smart code compeltion
ctrl+p
Shows method's inputs
ctrl+i
implement methods
ctrl+o
overide methods
 

Comments

select two files + Ctrl+D diff compare view of files

⌘+ E View recent files
⌘ / comment out current line or selected code block
⌥⌃L reformat code
⇧TAB unindent section
⌃= expand region at cursor
⇧⌃= expand all
⌃- collapse region at cursor
⇧⌃- collapse all

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          More Cheat Sheets by boris.indelman

          Vim Cheat Sheet
          shell Cheat Sheet
          tmux