Shortcuts JetBrains PyCharm for MacOS

We present to your attention the shortcuts for the JetBrains PyCharm for MacOS which is used on the operating system MacOS, in this hotkeys description 122 of the most popular and important shortcuts are offered. You can also add your changes on our portal if you consider the data insufficiently complete or add a new program from the very beginning.

General Shortcuts

MacOS Description Edit Cancel Save & submit
Command+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

MacOS Description Edit Cancel Save & submit
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

Editing Shortcuts

MacOS Description Edit Cancel Save & submit
Ctrl+Spacebar Basic Code Completion
Command+Shift+Enter Complete Current Statement
Ctrl+Option+Spacebar Class name completion
Ctrl+J Quick Documentation Lookup
Command+Mouse Over Brief Info
Command+Shift+Enter Complete Statement
Command+P Parameter Information
Ctrl+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+F4 Close Active Editor Tab
Command+Option+L Reformat Code
Command+D Duplicate Current Line
Command+X/Command+C/Command+V Cut/Copy/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
Option+Enter Show Intention Actions/Quick-Fixes
Option+Down Arrow Decrease Current Selection to Previous State
Option+Up Arrow Select Successively Incresing Code blocks
Ctrl+Shift+J Smart line Join
Command+Enter Smart line Split
Command+Shift++ Expand All
Command+Shift+- Collapse All
Command++/Command+- Expand/Collapse Code block
Command+Del Delete to end word
Command+Backspace Delete to word start
Command+Shift+Option+] Select till code block end
Command+Shift+Option+[ 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

MacOS Description Edit Cancel Save & submit
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 Introduce parameter
Command+Option+C Introduce Constant
Command+Option+V Introduce Variable
MacOS Description Edit Cancel Save & submit
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
Ctrl+Left Arrow/Ctrl+Right Arrow Go to Next/Previous Tab
Command+B Go to Declaration
Ctrl+Shift+B Go to Type Declaration
Command+Option+Left Arrow/Command+Option+Right Arrow Navigate back/forward
Command+Shift+Backspace Go to last edit location
Command+U Go to super method/super class
Ctrl+H Type Hierarchy
Command+Shift+H Method Hierarchy
Ctrl+Option+H Call Hierarchy
F11 Toggle Bookmark
Command+F11 Toggle Bookmark with Mnemonic
Shift+F11 Show Bookmarks
Ctrl+0..9 Go to Numbered Bookmark
Option+Home Show Navigation bar
F4 View Source
Command+Shift+Option+U Show Diagram
Command+F12 File Structure Popup
Command+]/Command+[ Move to code block end/start
Ctrl+Up Arrow/Ctrl+Down Arrow Go to Previous/Next Method
Command+Shift+I Open Quick Definition Lookup

Debugging

MacOS Description Edit Cancel Save & submit
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

MacOS Description Edit Cancel Save & submit
Option+Shift+F10 Open Run Configuration
Option+Shift+F9 Open Debug Configuration
Shift+F10 Run
Shift+F9 Debug
Command+Option+R Run Rake Task
MacOS Description Edit Cancel Save & submit
Command+F7 Find Usage in File
Option+F7 Find Usage
Command+Shift+F7 Highlight Usage in File
Command+Option+F7 Show Usage

VCS/Local History

MacOS Description Edit Cancel Save & submit
Command+K Commit Project to VCS
Command+T Update Project from VCS
Option+Shift+C View Recent Changes
Ctrl+V VCS Operations Popup

Live Templates

MacOS Description Edit Cancel Save & submit
Command+J Insert Live Template
Command+Option+J Surround with Live Template
~~~ The end. Thank you for watching. Add page to bookmarks CTRL + D ~~~
Date of change: 24.01.2019
Page views: 2844
*Some of the keys listed may not work in older versions of the program