PyCharm 2.7.2 Web Help

PyCharm as a keyboard-centric IDE suggests a wide variety of keyboard shortcuts. In this topic you can find a short list of the most indispensable of them, to make your first steps with PyCharm easy.

See the detailed list of default keyboard shortcuts in the Keyboard Shortcuts Reference and learn how to customize your preferred keymap in the section Configuring Keyboard Shortcuts.

ShortcutDescription
Alt+F1Alt+F1Switch between views (Project, Structure, etc.).
NextSplitterNextSplitter Switch between the tool windows and files opened in the editor.
Alt+HomeAlt+Home Show the Navigation bar.
Ctrl+JCtrl+J Insert a live template.
Ctrl+Alt+JCtrl+Alt+J Surround with a live template.
F4F4 Edit an item from the Project or another tree view.
Alt+EnterAlt+Enter Use the suggested quick fix.
Ctrl+Slash; Ctrl+DivideCtrl+Slash; Ctrl+Divide
Ctrl+Shift+Slash; Ctrl+Shift+DivideCtrl+Shift+Slash; Ctrl+Shift+Divide
Comment or uncomment a line or fragment of code with the line or block comment.
Ctrl+NCtrl+N
Ctrl+Shift+NCtrl+Shift+N
Find class or file by name.
Ctrl+DCtrl+D Duplicate the current line or selection.
Ctrl+WCtrl+W and Ctrl+Shift+WCtrl+Shift+W Incremental expression selection.
Ctrl+F; Alt+F3Ctrl+F; Alt+F3Find text string in the current file.
Ctrl+Shift+FCtrl+Shift+F Find in the current folder.
Ctrl+Shift+F7Ctrl+Shift+F7 Quick view the usages of the selected symbol.
Ctrl+Add; Ctrl+EqualsCtrl+Add; Ctrl+Equals
Ctrl+Subtract; Ctrl+MinusCtrl+Subtract; Ctrl+Minus
Expand or collapse a code block.
Ctrl+SpaceCtrl+Space Invoke code completion.

See Also

Procedures:

Reference:

Web Resources: