IntelliJ IDEA (macOS) keyboard shortcuts

IntelliJ IDEA (macOS)

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

Control + ↑   Shift + Space

Smart code completion

↑   Shift then ↑   Shift

Search everywhere

⌘ Cmd + • Enter

Show intention actions and quick fixes

⌘ Cmd + N

Generate code

or Control + • Enter
⌘ Cmd + P

Parameter info

βŒ₯ Option + ⌘ Cmd + ↑

Extend selection

βŒ₯ Option + ⌘ Cmd + ↓

Shrink selection

⌘ Cmd + E

Recent files popup

↑   Shift + F6

Rename

⌘ Cmd + Num 0 - Num 9

Open corresponding tool window

⌘ Cmd + S

Save all

⌘ Cmd + βŒ₯ Option + Y

Synchronize

⌘ Cmd + ↑   Shift + F12

Toggle maximizing editor

βŒ₯ Option + ↑   Shift + I

Inspect current file with current profile

Control + Β§

Quick switch current scheme

or Control + `
⌘ Cmd + ,

Open Settings dialog

⌘ Cmd + ;

Open project structure dialog

⌘ Cmd + ↑   Shift + A

Find action

F8

Step over

F7

Step into

↑   Shift + F7

Smart step into

↑   Shift + F8

Smart step out

βŒ₯ Option + F9

Run to cursor

βŒ₯ Option + F8

Evaluate expression

⌘ Cmd + βŒ₯ Option + R

Resume program

⌘ Cmd + F8

Toggle breakpoint

⌘ Cmd + ↑   Shift + F8

View breakpoints

↑   Shift then ↑   Shift

Search everywhere

↑   Shift + F

Find

⌘ Cmd + G

Find next

⌘ Cmd + ↑   Shift + G

Find previous

⌘ Cmd + R

Replace

⌘ Cmd + ↑   Shift + F

Find in path

⌘ Cmd + ↑   Shift + R

Replace in path

Ctrl + G

Select next occurence

Ctrl + ⌘ Cmd + G

Select all occurences

Control + G

Unselect occurence

Control + Space

Basic code completion

Control + ↑   Shift + Space

Smart code completion

⌘ Cmd + ↑   Shift + • Enter

Complete statement

⌘ Cmd + P

Parameter info (within method call arguments)

Control + J

Quick documentation lookup

↑   Shift + F1

External doc

⌘ Cmd +

Brief info

⌘ Cmd + F1

Show descriptions of error at caret

⌘ Cmd + N

Generate code

or Control + • Enter
Control + O

Override methods

Control + I

Implement methods

⌘ Cmd + βŒ₯ Option + T

Surround with…

⌘ Cmd + /

Comment / uncomment with line comment

⌘ Cmd + βŒ₯ Option + /

Comment / uncomment with block comment

βŒ₯ Option + ↑

Extend selection

βŒ₯ Option + ↓

Shrink selection

Control + ↑   Shift + Q

Context info

βŒ₯ Option + • Enter

Show intention actions and quick-fixes

⌘ Cmd + βŒ₯ Option + L

Reformat code

Control + βŒ₯ Option + O

Optimize imports

Control + βŒ₯ Option + I

Auto-indent line(s)

β­Ύ Tab

Indent selected lines

↑   Shift + β­Ύ Tab

Unindent selected lines

⌘ Cmd + X

Cut current line to clipboard

⌘ Cmd + C

Copy current line to clipboard

⌘ Cmd + V

Paste from clipboard

⌘ Cmd + ↑   Shift + V

Paste from recent buffers

⌘ Cmd + D

Duplicate current line

⌘ Cmd + Del

Delete line at caret

Control + ↑   Shift + J

Smart line join

⌘ Cmd + • Enter

Smart line split

↑   Shift + • Enter

Start new line

⌘ Cmd + ↑   Shift + U

Toggle case for word at caret or selected block

⌘ Cmd + ↑   Shift + ]

Select till code block end / start

or ⌘ Cmd + ↑   Shift + [
βŒ₯ Option + ForwardDel

Delete to word end

βŒ₯ Option + Del

Delete to word start

⌘ Cmd + +

Expand code block

⌘ Cmd + -

Collapse code block

⌘ Cmd + ↑   Shift + +

Expand all

⌘ Cmd + ↑   Shift + -

Collapse all

⌘ Cmd + W

Close active editor tab

⌘ Cmd + O

Go to class

⌘ Cmd + ↑   Shift + O

Go to file

⌘ Cmd + βŒ₯ Option + O

Go to symbol

Control + ←  β†’

Go to previous / next editor tab

F12

Go back to previous tool window

Esc

Go to editor (from tool window)

↑   Shift + Esc

Hide active or last active window

⌘ Cmd + L

Go to line

⌘ Cmd + E

Recent files popup

⌘ Cmd + βŒ₯ Option + ←  β†’

Navigate back/ forward

⌘ Cmd + ↑   Shift + Del

Navigate to last edit location

βŒ₯ Option + F1

Select current file or symbol in any view

⌘ Cmd + B

Go to declaration

or ⌘ Cmd +
⌘ Cmd + βŒ₯ Option + B

Go to implementation(s)

⌘ Cmd + Space

Open quick definition lookup

or ⌘ Cmd + Y
Control + ↑   Shift + B

Go to type declaration

⌘ Cmd + U

Go to super-method/ super-class

Control + ↑  β†“

Go to previous /next method

⌘ Cmd + ]

Move to code block end

⌘ Cmd + [

Move to code block start

⌘ Cmd + F12

File structure popup

Control + H

Type hierarchy

⌘ Cmd + ↑   Shift + H

Method hierarchy

⌘ Cmd + βŒ₯ Option + H

Call hierarchy

F2

Next highlighted error

↑   Shift + F2

Previous highlighted error

F4

Edit source

⌘ Cmd + ↓

View source

βŒ₯ Option + Home

Show navigation bar

F3

Toggle bookmark

βŒ₯ Option + F3

Toggle bookmark with mnemonic

Control + Num 0 - Num 9

Go to numbered bookmark

⌘ Cmd + F3

Show bookmarks

⌘ Cmd + F9

Make project

⌘ Cmd + ↑   Shift + F9

Compile selected file, package or module

⌘ Cmd + βŒ₯ Option + R

Select configuration and run

⌘ Cmd + βŒ₯ Option + D

Select configuration and debug

⌘ Cmd + R

Run

⌘ Cmd + D

Debug

⌘ Cmd + ↑   Shift + R

Run context configuration from editor

or ⌘ Cmd + ↑   Shift + D
βŒ₯ Option + F7

Find usages

⌘ Cmd + F7

Find usages in file

⌘ Cmd + βŒ₯ Option + F7

Show usages

⌘ Cmd + K

Commit project to VCS

⌘ Cmd + T

Update project from VCS

⌘ Cmd + ↑   Shift + K

Push commits

Control + V

"VCS" quick popup

⌘ Cmd + βŒ₯ Option + J

Surround with Live Template

⌘ 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: 11 Nov 2019

Shortcut count: 146

How easy to press shortcuts: 79%

Platform detected: macOS

Similar programs


  1. Grand Theft Auto VGrand Theft Auto V
    80048   
  2. Keyboard symbolsKeyboard symbols
    58703    1
  3. The Sims 4The Sims 4
    43428    3
  4. Apex Legends (PC)Apex Legends (PC)
    42874   
  5. Euro Truck Simulator 2Euro Truck Simulator 2
    40520   
  6. Ducky One 2 MiniDucky One 2 Mini
    39912    4
More keyboard shortcuts...

Advertisement

Join our mailing list!

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