IntelliJ IDEA (macOS) keyboard shortcuts

IntelliJ IDEA (macOS)  

Zeynel Abidin Öztürk -
4 years ago
- Shortcuts

These IntelliJ IDEA keyboard shortcuts will allow you to focus on writing code, by letting your hands stay on keyboard. These are the Mac shortcuts.

0
Control + ↑   Shift + Space

Smart code completion

2
↑   Shift then ↑   Shift

Search everywhere

-2
⌘ Cmd + ⤶ Enter

Show intention actions and quick fixes

1
⌘ Cmd + N

Generate code

1
or Control + ⤶ Enter
0
⌘ Cmd + P

Parameter info

0
⌥ Option + ⌘ Cmd +

Extend selection

0
⌥ Option + ⌘ Cmd +

Shrink selection

0
⌘ Cmd + E

Recent files popup

0
↑   Shift + F6

Rename

0
⌘ Cmd + Num 0 - Num 9

Open corresponding tool window

0
⌘ Cmd + S

Save all

0
⌘ Cmd + ⌥ Option + Y

Synchronize

0
⌘ Cmd + ↑   Shift + F12

Toggle maximizing editor

0
⌥ Option + ↑   Shift + I

Inspect current file with current profile

0
Control + §

Quick switch current scheme

0
or Control + `
0
⌘ Cmd + ,

Open Settings dialog

0
⌘ Cmd + ;

Open project structure dialog

0
⌘ Cmd + ↑   Shift + A

Find action

0
F8

Step over

0
F7

Step into

0
↑   Shift + F7

Smart step into

0
↑   Shift + F8

Smart step out

-1
⌥ Option + F9

Run to cursor

0
⌥ Option + F8

Evaluate expression

0
⌘ Cmd + ⌥ Option + R

Resume program

0
⌘ Cmd + F8

Toggle breakpoint

0
⌘ Cmd + ↑   Shift + F8

View breakpoints

1
↑   Shift then ↑   Shift

Search everywhere

0
↑   Shift + F

Find

0
⌘ Cmd + G

Find next

0
⌘ Cmd + ↑   Shift + G

Find previous

0
⌘ Cmd + R

Replace

0
⌘ Cmd + ↑   Shift + F

Find in path

0
⌘ Cmd + ↑   Shift + R

Replace in path

0
Ctrl + G

Select next occurence

0
Ctrl + ⌘ Cmd + G

Select all occurences

0
Control + G

Unselect occurence

0
Control + Space

Basic code completion

-1
Control + ↑   Shift + Space

Smart code completion

0
⌘ Cmd + ↑   Shift + ⤶ Enter

Complete statement

0
⌘ Cmd + P

Parameter info (within method call arguments)

0
Control + J

Quick documentation lookup

0
↑   Shift + F1

External doc

0
⌘ Cmd +

Brief info

0
⌘ Cmd + F1

Show descriptions of error at caret

0
⌘ Cmd + N

Generate code

1
or Control + ⤶ Enter
0
Control + O

Override methods

0
Control + I

Implement methods

1
⌘ Cmd + ⌥ Option + T

Surround with…

0
⌘ Cmd + /

Comment / uncomment with line comment

0
⌘ Cmd + ⌥ Option + /

Comment / uncomment with block comment

0
⌥ Option +

Extend selection

0
⌥ Option +

Shrink selection

1
Control + ↑   Shift + Q

Context info

0
⌥ Option + ⤶ Enter

Show intention actions and quick-fixes

1
⌘ Cmd + ⌥ Option + L

Reformat code

-1
Control + ⌥ Option + O

Optimize imports

-1
Control + ⌥ Option + I

Auto-indent line(s)

0
Tab

Indent selected lines

0
↑   Shift + Tab

Unindent selected lines

0
⌘ Cmd + X

Cut current line to clipboard

0
⌘ Cmd + C

Copy current line to clipboard

0
⌘ Cmd + V

Paste from clipboard

0
⌘ Cmd + ↑   Shift + V

Paste from recent buffers

0
⌘ Cmd + D

Duplicate current line

-1
⌘ Cmd + Del

Delete line at caret

0
Control + ↑   Shift + J

Smart line join

0
⌘ Cmd + ⤶ Enter

Smart line split

0
↑   Shift + ⤶ Enter

Start new line

0
⌘ Cmd + ↑   Shift + U

Toggle case for word at caret or selected block

0
⌘ Cmd + ↑   Shift + ]

Select till code block end / start

0
or ⌘ Cmd + ↑   Shift + [
0
⌥ Option + ForwardDel

Delete to word end

0
⌥ Option + Del

Delete to word start

0
⌘ Cmd + +

Expand code block

0
⌘ Cmd + -

Collapse code block

0
⌘ Cmd + ↑   Shift + +

Expand all

0
⌘ Cmd + ↑   Shift + -

Collapse all

0
⌘ Cmd + W

Close active editor tab

0
F5

Copy

0
F6

Move

0
⌘ Cmd + Del

Safe delete

0
↑   Shift + F6

Rename

0
⌘ Cmd + T

Refactor this

0
⌘ Cmd + F6

Change signature

0
⌘ Cmd + ⌥ Option + N

Inline

0
⌘ Cmd + ⌥ Option + M

Extract method

0
⌘ Cmd + ⌥ Option + V

Extract variable

0
⌘ Cmd + ⌥ Option + F

Extract field

0
⌘ Cmd + ⌥ Option + C

Extract constant

0
⌘ Cmd + ⌥ Option + P

Extract parameter

0
⌘ Cmd + O

Go to class

0
⌘ Cmd + ↑   Shift + O

Go to file

0
⌘ Cmd + ⌥ Option + O

Go to symbol

-3
Control + ←  →

Go to previous / next editor tab

0
F12

Go back to previous tool window

0
Esc

Go to editor (from tool window)

0
↑   Shift + Esc

Hide active or last active window

0
⌘ Cmd + L

Go to line

0
⌘ Cmd + E

Recent files popup

0
⌘ Cmd + ⌥ Option + ←  →

Navigate back / forward

0
⌘ Cmd + ↑   Shift + Del

Navigate to last edit location

0
⌥ Option + F1

Select current file or symbol in any view

0
⌘ Cmd + B

Go to declaration

0
or ⌘ Cmd +
0
⌘ Cmd + ⌥ Option + B

Go to implementation(s)

0
⌘ Cmd + Space

Open quick definition lookup

1
or ⌘ Cmd + Y
0
Control + ↑   Shift + B

Go to type declaration

0
⌘ Cmd + U

Go to super-method/ super-class

0
Control + ↑  ↓

Go to previous /next method

0
⌘ Cmd + ]

Move to code block end

0
⌘ Cmd + [

Move to code block start

0
⌘ Cmd + F12

File structure popup

0
Control + H

Type hierarchy

0
⌘ Cmd + ↑   Shift + H

Method hierarchy

0
⌘ Cmd + ⌥ Option + H

Call hierarchy

0
F2

Next highlighted error

0
↑   Shift + F2

Previous highlighted error

0
F4

Edit source

0
⌘ Cmd +

View source

0
⌥ Option + Home

Show navigation bar

0
F3

Toggle bookmark

0
⌥ Option + F3

Toggle bookmark with mnemonic

0
Control + Num 0 - Num 9

Go to numbered bookmark

0
⌘ Cmd + F3

Show bookmarks

0
⌘ Cmd + F9

Make project

0
⌘ Cmd + ↑   Shift + F9

Compile selected file, package or module

0
⌘ Cmd + ⌥ Option + R

Select configuration and run

0
⌘ Cmd + ⌥ Option + D

Select configuration and debug

0
⌘ Cmd + R

Run

0
⌘ Cmd + D

Debug

0
⌘ Cmd + ↑   Shift + R

Run context configuration from editor

0
or ⌘ Cmd + ↑   Shift + D
0
⌥ Option + F7

Find usages

0
⌘ Cmd + F7

Find usages in file

0
⌘ Cmd + ⌥ Option + F7

Show usages

0
⌘ Cmd + K

Commit project to VCS

0
⌘ Cmd + T

Update project from VCS

0
⌘ Cmd + ↑   Shift + K

Push commits

0
Control + V

"VCS" quick popup

0
⌘ Cmd + ⌥ Option + J

Surround with Live Template

0
⌘ Cmd + J

Insert live template


Share this page on:

Program information

Program name: IntelliJ IDEA (macOS) IntelliJ IDEA (macOS) (Developer tools)

IntelliJ IDEA is a Java integrated development environment for developing computer software. IntelliJ IDEA is developed by JetBrains and works under Windows, macOS, Linux.

Web page: jetbrains.com/idea

Last update: 3/4/2021 11:05 AM UTC

How easy to press shortcuts: 78%

More information >>

Shortcut count: 146

Platform detected: macOS

Similar programs



Advertisement

Join our mailing list!

Your email is kept private and we don't spam.