IntelliJ IDEA (macOS) keyboard shortcuts

IntelliJ IDEA (macOS)

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

⌥ Option + ⌘ Cmd + /

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

F5

Copy

F6

Move

⌘ Cmd + Del

Safe delete

↑   Shift + F6

Rename

⌘ Cmd + T

Refactor this

⌘ Cmd + F6

Change signature

⌘ Cmd + ⌥ Option + N

Inline

⌘ Cmd + ⌥ Option + M

Extract method

⌘ Cmd + ⌥ Option + V

Extract variable

⌘ Cmd + ⌥ Option + F

Extract field

⌘ Cmd + ⌥ Option + C

Extract constant

⌘ Cmd + ⌥ Option + P

Extract parameter

⌘ 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: https://www.jetbrains.com/idea...

Shortcut count: 146

How easy to press shortcuts: 79%

Similar programs


  1. Grand Theft Auto VGrand Theft Auto V
    61230   
  2. Keyboard symbolsKeyboard symbols
    49096    1
  3. Apex Legends (PC)Apex Legends (PC)
    37963   
  4. The Sims 4The Sims 4
    36934    3
  5. PlayerUnknown's BattlegroundsPlayerUnknown's Battleg
    34434    2
  6. DiscordDiscord
    32456   
More keyboard shortcuts...

Advertisement

Join our mailing list!

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