Keyboard Shortcuts | Descption |
---|---|
Cmd-/ | Comment/uncomment |
Cmd + Alt + L | Reformat code |
Cmd-F | Find text |
Cmd-Shift-F | Find text in files |
Cmd-Plus | Expand code block |
Cmd-Minus | Collapse code block |
Cmd-B | Goto declaration of current variable |
Cmd-U | Goto superclass |
Cmd-Opt-Left | Go back to where you were |
Cmd-Opt-Right | Go forward to where you were |
Shift,Shift | Search everywhere |
Cmd + Shift + NumPad+ | Expand all |
Cmd + Shift + NumPad- | Collapse all |
via Mac PyCharm keyboard shortcuts, PyCharm Default Keymap PyCharm Default Keymap
the "Template Text" can be improved in one line by adding
where context is the number of lines you want to show when reaching the breakpoint