Shortcuts JetBrains PyCharm for MacOS

122 shortcuts6,016 views
Open Trainer

General Shortcuts

macOSAction
Command+0..9Open Corresponding Tool Window
Command+SSave All
Command+Option+YSynchronize
Command+Shift+F12Toggle Maximize Editor
Command+TabSwitch Editor Tabs and IDE Tool Windows
Command+,Open Setting Dialog
Command+WClose Current Active Tab
Command+`Quick Switch Current Scheme
Option+Shift+FAdd to Favourites
Option+Shift+IInspect Current file with Current file

Find and Replace

macOSAction
Command+FFind
Command+RReplace
Command+GFind Next
Command+Shift+GFind Previous
Command+Shift+FFind in Path
Command+Shift+RReplace in Path

Editing Shortcuts

macOSAction
Ctrl+SpacebarBasic Code Completion
Command+Shift+EnterComplete Current Statement
Ctrl+Option+SpacebarClass name completion
Ctrl+JQuick Documentation Lookup
Command+Mouse OverBrief Info
Command+Shift+EnterComplete Statement
Command+PParameter Information
Ctrl+OOverride Methods
Command+NGenerate Code
Option+Shift+Up Arrow/Down ArrowMove Line(Selection) Up/Down
Command+Option+TSurround With..(Begin..End etc.)
Command+/Comment/Uncomment with Line Comment
Command+Option+/Comment/Uncomment with Block Comment
Command+F1Show Description of Error or Warning at Caret
TabIndent Selected Lines
Shift+TabUnindent Selected Lines
Option+EnterShow Intention Actions and Quick Fixes
Command+F4Close Active Editor Tab
Command+Option+LReformat Code
Command+DDuplicate Current Line
Command+X/Command+C/Command+VCut/Copy/Paste Current line to Clipboard
Command+Shift+VPaste from Buffer
Command+Option+IAutoIndent Lines
Command+YDelete line at caret
Shift+EnterStart New line
Option+EnterShow Intention Actions/Quick-Fixes
Option+Down ArrowDecrease Current Selection to Previous State
Option+Up ArrowSelect Successively Incresing Code blocks
Ctrl+Shift+JSmart line Join
Command+EnterSmart line Split
Command+Shift++Expand All
Command+Shift+-Collapse All
Command++/Command+-Expand/Collapse Code block
Command+DelDelete to end word
Command+BackspaceDelete to word start
Command+Shift+Option+]Select till code block end
Command+Shift+Option+[Select till code block start
Shift+Option+UToggle Carnel/Snake Case
Command+Shift+USwitch case for Word at Caret or Selected block

Refactoring

macOSAction
F5Copy
F6Move
Command+DelSafe Delete
Shift+F6Rename
Command+Option+NInline
Command+F6Change Signature
Command+Option+MExtract Method
Command+Option+FIntroduce Field
Command+Option+PIntroduce parameter
Command+Option+CIntroduce Constant
Command+Option+VIntroduce Variable

Navigation Shortcuts

macOSAction
Command+NGo to Class
Command+Shift+NGo to File
Command+Option+Shift+NGo to Symbol
F2Next highlighted Error
Shift+F2Previous highlighted Error
EscGo to Editor
Shift+EscHide Active/Last Active Window
Command+PgUpGo to Top of Page
Command+PgDnGo to Bottom of Page
Command+GGo to Line
Command+ERecent files Popup
Option+F1Select current file/Symbol in any View
Ctrl+Left Arrow/Ctrl+Right ArrowGo to Next/Previous Tab
Command+BGo to Declaration
Ctrl+Shift+BGo to Type Declaration
Command+Option+Left Arrow/Command+Option+Right ArrowNavigate back/forward
Command+Shift+BackspaceGo to last edit location
Command+UGo to super method/super class
Ctrl+HType Hierarchy
Command+Shift+HMethod Hierarchy
Ctrl+Option+HCall Hierarchy
F11Toggle Bookmark
Command+F11Toggle Bookmark with Mnemonic
Shift+F11Show Bookmarks
Ctrl+0..9Go to Numbered Bookmark
Option+HomeShow Navigation bar
F4View Source
Command+Shift+Option+UShow Diagram
Command+F12File Structure Popup
Command+]/Command+[Move to code block end/start
Ctrl+Up Arrow/Ctrl+Down ArrowGo to Previous/Next Method
Command+Shift+IOpen Quick Definition Lookup

Debugging

macOSAction
Option+F9Run to Cursor
Shift+F8Step Out
F8Step Over
F7Step Into
Command+Option+F8Quick Evaluate Expression
Option+F8Evaluate Expression
Command+F8Toggle Breakpoint
Command+Shift+F8View Breakpoints
F9Resume Program

Compile and Run

macOSAction
Option+Shift+F10Open Run Configuration
Option+Shift+F9Open Debug Configuration
Shift+F10Run
Shift+F9Debug
Command+Option+RRun Rake Task

Usage Search

macOSAction
Command+F7Find Usage in File
Option+F7Find Usage
Command+Shift+F7Highlight Usage in File
Command+Option+F7Show Usage

VCS/Local History

macOSAction
Command+KCommit Project to VCS
Command+TUpdate Project from VCS
Option+Shift+CView Recent Changes
Ctrl+VVCS Operations Popup

Live Templates

macOSAction
Command+JInsert Live Template
Command+Option+JSurround with Live Template