MacOSShortcutsWindows

120+ Intellij Shortcuts for Windows & Mac

Shifting from Eclipse Java Shortcut to IntelliJ Shortcuts would not make such a huge difference. With the introduction of IntelliJ, Eclipse for Java development didn’t work for me anymore.

List of Intellij Shortcuts for Windows & Mac

The below list of IntelliJ shortcuts for Windows and Mac users will help the developers. The below shortcuts are grouped into various sections: Editing Shortcuts, Compile and Run Shortcuts, Debugging shortcuts, Navigation Shortcuts, Find and Replace Shortcuts. Download IntelliJ Shortcuts for Windows and Mac users in PDF form.

Most used Intellij Shortcuts

Action Intellij Shortcut keys Windows Intellij Shortcut keys Mac
Open corresponding tool window Alt + 0…9 Option + 0…9
Save all Ctrl + S Command + S
Synchronize Ctrl + Alt + Y Command + Option + Y
Toggle maximizing editor Ctrl + Shift + F12 Command + Shift + F12
Add to Favorites Alt + Shift + F Option + Shift + F
Inspect current file with current profile Alt + Shift + I Option + Shift + I
Quick switch current scheme Ctrl + ‘ Command + ‘
Open Settings dialog Ctrl + Alt + S Command + Option + S
Open Project Structure dialog Ctrl + Alt + Shift + S Command + Option + Shift + S
Find Action Ctrl + Shift + A Command + Shift + A
Switch between tabs and tool window Ctrl + Tab Command + Tab
Create new scratch file Ctrl + Shift + Alt + Insert Command + Shift + Option + Insert

Editing Shortcuts

Action Intellij Shortcut keys Windows Intellij Shortcut keys Mac
Basic code completion Ctrl + Spacebar Command + Spacebar
Smart code completion Ctrl + Shift + Spacebar Command + Shift + Spacebar
Complete statement Ctrl + Shift + Enter Command + Shift + Return
Parameter info Ctrl + P Command + P
Quick documentation lookup Ctrl + Q Command + Q
External Doc Shift + F1 Shift + F1
Show descriptions of error or warning at caret Ctrl + F1 Command + F1
Generate code Alt + Insert Option + Insert
Override methods Ctrl + O Command + O
Implement methods Ctrl + I Command + I
Surround with if..else etc. Ctrl + Alt + T Command + Option + T
Comment or uncomment with line comment Ctrl + / Command + /
Comment or uncomment with block comment Ctrl + Shift + / Command + Shift + /
Select successively increasing code blocks Ctrl + W Command + W
Decrease current selection to previous state Ctrl + Shift + W Command + Shift + W
Context info Alt + Q Option + Q
Show intention actions and quick-fixes Alt + Enter Option + Return
Reformat code Ctrl + Alt + L Command + Option + L
Optimize imports Ctrl + Alt + O Command + Option + O
Auto-indent lines Ctrl + Alt + I Command + Option + I
Indent selected lines Tab Tab
Unindent selected lines Shift + Tab Shift + Tab
Cut current line Ctrl + X Command + X
Copy current line Ctrl + C Command + C
Paste from clipboard Ctrl + V Command + V
Paste from recent buffers Ctrl + Shift + V Command + Shift + V
Duplicate current line Ctrl + D Command + D
Delete line at caret Ctrl + Y Command + Y
Smart line join Ctrl + Shift + J Command + Shift + J
Smart line split Ctrl + Enter Command + Return
Start new line Shift + Enter Shift + Return
Toggle case for word at caret Ctrl + Shift + U Command + Shift + U
Select till code block end Ctrl + Shift + ] Command + Shift + ]
Select till code block start Ctrl + Shift + [ Command + Shift + [
Delete to word end Ctrl + Delete Command + Delete
Delete to word start Ctrl + Backspace Command + Backspace
Expand code block Ctrl + + Command + +
Collapse code block Ctrl + – Command + –
Expand all Ctrl + Shift + + Command + Shift + +
Collapse all Ctrl + Shift + – Command + Shift + –
Close active editor tab Ctrl + F4 Command + F4
Find usages Alt + F7 Option + F7
Find usages in file Ctrl + F7 Command + F7
Highlight usages in file Ctrl + Shift + F7 Command + Shift + F7
Show usages Ctrl + Alt + F7 Command + Option + F7
Copy F5 F5
Move F6 F6
Safe Delete Delete Delete
Rename Shift + F6 Shift + F6
Change Signature Ctrl + F6 Command + F6
Inline Ctrl + Alt + N Command + Option + N
Extract Method Ctrl + Alt + M Command + Option + M
Extract Variable Ctrl + Alt + V Command + Option + V
Extract Field Ctrl + Alt + F Command + Option + F
Extract Constant Ctrl + Alt + C Command + Option + C
Extract Parameter Ctrl + Alt + P Command + Option + P

Compile and Run Shortcuts

Action Windows Shortcuts Mac Shortcuts
Make project compile Ctrl + F9 Command + F9
Compile selected file, package or module Ctrl + Shift + F9 Command + Shift + F9
Select configuration and run Alt + Shift + F10 Option + Shift + F10
Select configuration and debug Alt + Shift + F9 Option + Shift + F9
Run Shift + F10 Shift + F10
Debug Shift + F9 Shift + F9
Run context configuration from editor Ctrl + Shift + F10 Command + Shift + F10

Debugging Shortcuts

Action Windows Shortcuts Mac Shortcuts
Commit project to VCS Ctrl + K Command + K
Update project from VCS Ctrl + T Command + T
View recent changes Alt + Shift + C Option + Shift + C
VCS quick popup Alt + ‘ Option + ‘
Step over F8 F8
Step into F7 F7
Smart step into Shift + F7 Shift + F7
Step out Shift + F8 Shift + F8
Run to cursor Alt + F9 Option + F9
Evaluate expression Alt + F8 Option + F8
Resume program F9 F9
Toggle breakpoint Ctrl + F8 Command + F8
View breakpoints Ctrl + Shift + F8 Command + Shift + F8

Navigation Intellij Shortcuts

Action Windows Shortcuts Mac Shortcuts
Go to class Ctrl + N Command + N
Go to file Ctrl + Shift + N Command + Shift + N
Go to symbol Ctrl + Alt + Shift + N Command + Option + Shift + N
Go back to previous tool window F12 F12
Go to editor Esc Esc
Hide active or last active window Shift + Esc Shift + Esc
Close active run Ctrl + Shift + F4 Command + Shift + F4
Go to line Ctrl + G Command + G
Recent files popup Ctrl + E Command + E
Navigate backward Ctrl + Alt + Left Arrow key Command + Option + Left Arrow key
Navigate forward Ctrl + Alt + Right Arrow key Command + Option + Right Arrow key
Navigate to last edit location Ctrl + Shift + Backspace Command + Shift + Backspace
Select current file or symbol in any view Alt + F1 Option + F1
Go to declaration Ctrl + B Command + B
Go to implementation Ctrl + Alt + B Command + Option + B
Open quick definition lookup Ctrl + Shift + I Command + Shift + I
Go to type declaration Ctrl + Shift + B Command + Shift + B
Go to super-method Ctrl + U Command + U
Go to previous method Alt + Up Arrow key Option + Up Arrow key
Go to next method Alt + Down Arrow key Option + Down Arrow key
Move to code block end Ctrl + ] Command + ]
Move to code block start Ctrl + [ Command + [
File structure popup Ctrl + F12 Command + F12
Type hierarchy Ctrl + H Command + H
Method hierarchy Ctrl + Shift + H Command + Shift + H
Call hierarchy Ctrl + Alt + H Command + Option + H
Next highlighted error F2 F2
Previous highlighted error Shift + F2 Shift + F2
Edit source F4 F4
View source Ctrl + Enter Command + Return
Show navigation bar Alt + Home Option + Home
Toggle bookmark F11 F11
Toggle bookmark with mnemonic Ctrl + F11 Command + F11
Show bookmarks Shift + F11 Shift + F11

Find & Replace Shortcuts

Action Windows Shortcuts Mac Shortcuts
Find Ctrl + F Command + F
Find next F3 F3
Find previous Shift + F3 Shift + F3
Replace Ctrl + R Command + R
Find in path Ctrl + Shift + F Command + Shift + F
Replace in path Ctrl + Shift + R Command + Shift + R

Download Intellij Shortcuts PDF for Windows & Mac

Download Intellij Shortcuts PDF for Windows & Mac

With IntelliJ Shortcuts we keep our hands on the keyboard and things can be done at a faster pace. For a developer, little seconds will add up the efficiency of their work. In other words, IntelliJ shortcuts will skyrocket your productivity while coding. Visual Studio Shortcuts, too can be used for coding. It is an alternative to IntelliJ.

READ NEXT:

Devil

Hello, My name is Pratik, Founder of Tutorial Tactic. Only the mistakes will help you learn and Tutorial Tactic drives you to stand strong and learn even harder & achieve success!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button