Shortcuts IntelliJ for MacOS

114 shortcuts2,718 views
Open Trainer

General Shortcuts

macOSAction
Command+0..9Open Corresponding Tool Window
Command+SSave All
Command+Option+YSynchronize
Command+Shift+F12Toggle Maximize Editor
Command+Shift+AFind Action
Command+,Open Setting Dialog
Command+;Open Project Structure Dialog
Ctrl+`Quick Switch Current Scheme
Option+Shift+IInspect Current file with Current file

Debugging Shortcuts

macOSAction
Option+F9Run to Cursor
Shift+F7/Shift+F8Smart Step In/Step Out
F8Step Over
F7Step Into
Option+F8Evaluate Expression
Command+F8Switch Breakpoint
Command+Shift+F8View Breakpoints
Command+Option+RResume Program

Editing Shortcuts

macOSAction
Ctrl+SpacebarBasic Code Completion
Ctrl+Shift+SpacebarSmart Code Completion
Ctrl+JQuick Documentation Setup
Command+ClickBrief Info
Shift+F1External document
Command+Shift+EnterComplete Statement
Command+PParameter Information
Ctrl+OOverride Methods
Command+NGenerate Code
Ctrl+EnterGenerate Code
Ctrl+IImplement Methods
Command+Option+TSurround With
Command+/Comment/Uncomment with Line Comment
Command+Option+/Comment/Uncomment with Block Comment
Option+Up ArrowExtend Selection
Option+Down ArrowShrink Selection
Ctrl+Shift+QContext Information
Option+EnterShow Intention Actions and Quick Fixes
Command+Option+LReformat Code
Command+DDuplicate Current Line
Command+X/Command+C/Command+VCut/Copy/Paste Current line to Clipboard
Ctrl+Option+OOraganize Import
Ctrl+Option+IAutoIndent Lines
Command+BackspaceDelete line at caret
Shift+EnterStart New line
Ctrl+Shift+JSmart line join
Command+EnterSmart line split
Command+WClose Active Editor Tab
Command+Shift++Expand All
Command+Shift+-Collapse All
Command++/Command+-Expand/Collapse Code block
Option+DelDelete to end word
Option+BackspaceDelete to word start
Command+Shift+]Select till code block end
Command+Shift+[Select till code block start
Command+Shift+USwitch case for Word at Caret or Selected block

Find and Replace Shortcuts

macOSAction
Command+FFind
Command+RReplace
Double ShiftSearch Everywhere
Command+GFind Next
Command+Shift+GFind Previous
Command+Shift+FFind in Path
Command+Shift+RReplace in Path
Ctrl+GSelect Next Occurance
Command+Ctrl+GSelect All Occurance
Ctrl+GUnselect Occurance

Refactoring

macOSAction
F5Copy
F6Move
Shift+F6Rename
Command+Option+NInline
Command+F6Change Signature
Ctrl+TRefactor this
Command+DelSafe Delete
Command+Option+MExtract Method
Command+Option+FExtract Field
Command+Option+PExtract parameter
Command+Option+CExtract Constant
Command+Option+VExtract Variable

Usage Shortcuts

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

VCS/Local History

macOSAction
Ctrl+VVCS Quick Popup
Command+KCommit Project to VCS
Command+TUpdate Project from VCS
Command+Shift+KPush Commits

Live Templates

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

Navigation Shortcuts

macOSAction
Command+OGo to Class
Command+Shift+OGo to File
Command+Option+OGo to Symbol
F12Go back to Previous tool window
EscGo to Editor
Shift+EscHide Active/Last Active Window
Command+LGo to Line
Command+ERecent files Popup
Option+F1Select current file/Symbol in any View
Ctrl+Left Arrow/Ctrl+Right ArrowGo to Next/Previous Tab
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
F3Toggle Bookmark
Option+F3Toggle Bookmark with Mnemonic
Command+F3Show Bookmarks
Ctrl+0..9Go to Numbered Bookmark
Option+HomeShow Navigation bar
F4Edit Source
Command+Down ArrowView Source
Ctrl+Option+HCall Hierarchy
Command+F12File Structure Popup
Command+]/Command+[Move to code block end/start
Command+B/Commad+ClickGo to Declaration
Ctrl+Up Arrow/Ctrl+Down ArrowGo to Previous/Next Method
Command+Y/Command+SpacebarOpen Quick Definition Lookup