IntelliJ IDEA 2023.1 Help

Predefined macOS keymap

IntelliJ IDEA's top keyboard shortcuts

Search Everywhere

Double Shift

Find Action...

Command Shift A

Show Project window

Command 1

Rebuild

Command Shift F9

Show Intention Actions

Alt Enter

Recent Files

Command E

Find Usages

Alt F7

Select In...

Alt F1

Settings...

Command ,

Generate...

Command N

Run Anything

Double Control

Debug...

Control Alt D

View Breakpoints...

Command Shift F8

Attach to Process...

Alt Shift F5

VCS Operations Popup...

Control V

Refactor This...

Control T

Reformat Code

Command Alt L

Build projects

Build Project

Command F9

Rebuild

Command Shift F9

Basic editing

Cut

Command X

Copy

Command C

Paste

Command V

Paste as Plain Text

Command Alt Shift V

Paste from History...

Command Shift V

Copy Paths

Command Shift C

Copy Reference

Command Alt Shift C

Save All

Command S

Undo

Command Z

Redo

Command Shift Z

Indent Selection

Tab

Unindent Line or Selection

Shift Tab

Auto-Indent Lines

Control Alt I

Start New Line

Shift Enter

Start New Line Before Current

Command Alt Enter

Delete Line

Command Backspace

Join Lines

Control Shift J

Duplicate Line or Selection

Command D

Toggle Case

Command Shift U

Scratch File

Command Shift N

Open Source in New Window

Shift F4

Caret navigation

Move Caret to Previous Word

Alt ArrowLeft

Move Caret to Next Word

Alt ArrowRight

Move Caret to Line Start

Home

Move Caret to Line End

End

Move Caret to Matching Brace

Control M

Move Caret to Code Block Start

Command Alt [

Move Caret to Code Block End

Command Alt ]

Next Method

Control Shift ArrowDown

Previous Method

Control Shift ArrowUp

Move Caret to Page Top

Command PageUp

Move Caret to Page Bottom

Command ArrowDown

Page Up

PageUp

Page Down

ArrowDown

Move Caret to Text Start

Command Home

Move Caret to Text End

Command End

Select text

Select All

Command A

Left with Selection

Shift ArrowLeft

Right with Selection

Shift ArrowRight

Move Caret to Previous Word with Selection

Alt Shift ArrowLeft

Move Caret to Next Word with Selection

Alt Shift ArrowRight

Move Caret to Line Start with Selection

Shift Home

Move Caret to Line End with Selection

Shift End

Up with Selection

Shift ArrowUp

Down with Selection

Shift ArrowDown

Move Caret to Code Block Start with Selection

Command Alt Shift [

Move Caret to Code Block End with Selection

Command Alt Shift ]

Move Caret to Page Top with Selection

Command Shift PageUp

Move Caret to Page Bottom with Selection

Command Shift ArrowDown

Page Up with Selection

Shift PageUp

Page Down with Selection

Shift ArrowDown

Move Caret to Text Start with Selection

Command Shift Home

Move Caret to Text End with Selection

Command Shift End

Extend Selection

Alt ArrowUp

Shrink Selection

Alt ArrowDown

Code folding

Expand

Command

Collapse

NumPad-NumPad--

Expand Recursively

Command Alt

Collapse Recursively

NumPad-NumPad--

Expand All

Command Shift

Collapse All

NumPad-NumPad--

Fold Selection

Command .

Multiple carets and selection ranges

Coding assistance

Show Intention Actions

Alt Enter

Basic Completion

Control Space

Type-Matching Completion

Control Shift Space

Second Basic Completion

Control Alt Space

Complete Current Statement

Command Shift Enter

Reformat Code

Command Alt L

Parameter Info

Command P

Quick Documentation

F1

Move Statement Up

Command Shift ArrowUp

Move Statement Down

Command Shift ArrowDown

Move Element Left

Command Alt Shift ArrowLeft

Move Statement Right

Command Alt Shift ArrowRight

Move Line Up

Alt Shift ArrowUp

Move Line Down

Alt Shift ArrowDown

Comment with Line Comment

Command /

Comment with Block Comment

Command Alt /

Surround With...

Command Alt T

Generate...

Command N

Context navigation

Next Method

Control Shift ArrowDown

Previous Method

Control Shift ArrowUp

Go to Line/Column...

Command L

Switcher

Control Tab

Select In...

Alt F1

Recent Files

Command E

Last Edit Location

Command Shift Backspace

Back

Command [

Forward

Command ]

Select Next Tab

Command Shift ]

Select Previous Tab

Command Shift [

Toggle Anonymous Bookmark

F3

Toggle Bookmark with Digit

Control+Shift

Toggle Bookmark with Mnemonic

Alt F3

Show All Bookmarks

Command F3

Go to Bookmark with Digit

Control

Show Mnemonic Bookmarks

Command Alt F3

Go to Next Bookmark

Go to Previous Bookmark

Show Bookmarks window

Command 2

Show Structure window

Command 7

Show Find window

Command 3

Next Occurrence

Command Alt ArrowDown

Previous Occurrence

Command Alt ArrowUp

Find everything

Search Everywhere

Double Shift

Find...

Command F

Find Next / Move to Next Occurrence

Command G

Find Previous / Move to Previous Occurrence

Command Shift G

Replace...

Command R

Find in Files...

Command Shift F

Replace in Files...

Command Shift R

Next Occurrence of the Word at Caret

Go to File...

Command Shift O

File Structure

Command F12

Go to Symbol...

Command Alt O

Find Action...

Command Shift A

Code analysis

Run and debug

Run Anything

Double Control

Run context configuration

Control R

Run...

Control Alt R

Debug context configuration

Control D

Debug...

Control Alt D

Attach to Process...

Alt Shift F5

Stop

Command F2

Resume Program

Command Alt R

Stop Background Processes...

Command Shift F2

Step Over

F8

Force Step Over

Alt Shift F8

Step Into

F7

Smart Step Into

Shift F7

Force Step Into

Alt Shift F7

Step Out

Shift F8

Run To Cursor

Alt F9

Force Run To Cursor

Command Alt F9

Show Execution Point

Alt F10

Evaluate Expression...

Alt F8

Quick Evaluate Expression

Command Alt F8

Toggle Line Breakpoint

Command F8

Toggle Temporary Line Breakpoint

Command Alt Shift F8

View Breakpoints...

Command Shift F8

Edit Breakpoint

Command Shift F8

Show Run window

Command 4

Show Debug window

Command 5

Show Services window

Command 8

Refactorings

Refactor This...

Control T

Rename...

Shift F6

Change Signature...

Command F6

Inline...

Command Alt N

Move...

F6

Extract Method...

Command Alt M

Introduce Field...

Command Alt F

Introduce Parameter...

Command Alt P

Introduce Variable...

Command Alt V

Safe Delete...

Command Delete

Global VCS actions

VCS Operations Popup...

Control V

Commit...

Command K

Update Project

Command T

Rollback

Command Alt Z

Push...

Command Shift K

Next Change

Control Alt Shift ArrowDown

Previous Change

Control Alt Shift ArrowUp

Show Version Control window

Command 9

Show Commit window

Command 0

Differences viewer

Show Diff

Command D

Compare Files

Command D

Next Difference

F7

Previous Difference

Shift F7

Accept Left Side

Command Control ArrowRight

Accept Right Side

Command Control ArrowLeft

Select Opposite Diff Pane

Control Shift Tab

Show Diff Settings Popup...

Command Shift D

Tool windows

Hide Active Tool Window

Shift Escape

Hide All Tool Windows

Command Shift F12

Jump to Last Tool Window

F12

Stretch to Left

Control Alt ArrowLeft

Stretch to Right

Control Alt ArrowRight

Stretch to Top

Control Alt ArrowUp

Stretch to Bottom

Control Alt ArrowDown

Show Project window

Command 1

Show Bookmarks window

Command 2

Show Find window

Command 3

Show Run window

Command 4

Show Debug window

Command 5

Show Problems window

Command 6

Show Structure window

Command 7

Show Services window

Command 8

Show Version Control window

Command 9

Show Commit window

Command 0

Show Terminal window

Alt F12

Last modified: 05 July 2023