IntelliJ IDEA (macOS) keyboard shortcuts

IntelliJ IDEA (macOS)

Zeynel Abidin Öztürk -
3 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.

-1
Control + ↑   Shift + Space

Smart code completion

1
↑   Shift then ↑   Shift

Search everywhere

0
⌘ Cmd + • Enter

Show intention actions and quick fixes

0
⌘ Cmd + N

Generate code

0
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

0
βŒ₯ 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

0
or Control + • Enter
0
Control + O

Override methods

0
Control + I

Implement methods

0
⌘ 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

0
Control + ↑   Shift + Q

Context info

0
βŒ₯ Option + • Enter

Show intention actions and quick-fixes

0
⌘ Cmd + βŒ₯ Option + L

Reformat code

0
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

0
⌘ 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
⌘ Cmd + O

Go to class

0
⌘ Cmd + ↑   Shift + O

Go to file

0
⌘ Cmd + βŒ₯ Option + O

Go to symbol

-2
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: 04 March 2021

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.