IntelliJ IDEA keyboard shortcuts

IntelliJ IDEA is JetBrains' IDE for Java and Kotlin, known for its code analysis and refactoring. The keys start with its top commands, like Search Everywhere, then cover editing, code completion and documentation, and jumping between files, symbols, and debugger steps.

Windows, macOS · 67 shortcuts

Top commands

Search the project, open actions and settings, format code, and reach the most-used IntelliJ tools.

ActionShortcuts
Search Everywhere
Windows / macOSShift + Shift
Find an action
WindowsCtrl + Shift + A
macOSCmd + Shift + A
Show the Project window
WindowsAlt + 1
macOSCmd + 1
Rebuild the project
WindowsCtrl + Shift + F9
macOSCmd + Shift + F9
Show intention actions
WindowsAlt + Enter
macOSOption + Enter
Open recent files
WindowsCtrl + E
macOSCmd + E
Find usages
Windows / macOSAlt + F7
Select in another tool window
Windows / macOSAlt + F1
Open settings
WindowsCtrl + Alt + S
macOSCmd + ,
Generate code
WindowsAlt + Insert
macOSCmd + N
Open Run Anything
Windows / macOSCtrl + Ctrl
Debug the current configuration
WindowsAlt + Shift + F9
macOSCtrl + Alt + D
Open breakpoints
WindowsCtrl + Shift + F8
macOSCmd + Shift + F8
Open the VCS operations popup
WindowsAlt + `
macOSCtrl + V
Open Refactor This
WindowsCtrl + Alt + Shift + T
macOSCtrl + T
Reformat code
WindowsCtrl + Alt + L
macOSCmd + Option + L

Editing

Use the clipboard, undo history, indentation, line movement, and text selection commands in the editor.

ActionShortcuts
Cut
WindowsCtrl + X
macOSCmd + X
Copy
WindowsCtrl + C
macOSCmd + C
Paste
WindowsCtrl + V
macOSCmd + V
Paste as plain text
WindowsCtrl + Alt + Shift + V
macOSCmd + Option + Shift + V
Paste from history
WindowsCtrl + Shift + V
macOSCmd + Shift + V
Copy paths
WindowsCtrl + Shift + C
macOSCmd + Shift + C
Save all
WindowsCtrl + S
macOSCmd + S
Undo
WindowsCtrl + Z
macOSCmd + Z
Redo
WindowsCtrl + Shift + Z
macOSCmd + Shift + Z
Indent selection
Windows / macOSTab
Unindent line or selection
Windows / macOSShift + Tab
Auto-indent lines
WindowsCtrl + Alt + I
macOSCtrl + Option + I
Start a new line
Windows / macOSShift + Enter
Start a new line before the current line
WindowsCtrl + Alt + Enter
macOSCmd + Option + Enter
Delete the current line
WindowsCtrl + Y
macOSCmd + Backspace
Join lines
Windows / macOSCtrl + Shift + J
Duplicate line or selection
WindowsCtrl + D
macOSCmd + D
Toggle case
WindowsCtrl + Shift + U
macOSCmd + Shift + U
Select all
WindowsCtrl + A
macOSCmd + A

Coding assistance

Complete code, inspect parameters and documentation, move statements, and add comments around the caret.

ActionShortcuts
Open basic completion
Windows / macOSCtrl + Space
Open type-matching completion
Windows / macOSCtrl + Shift + Space
Open the second completion list
Windows / macOSCtrl + Alt + Space
Complete the current statement
WindowsCtrl + Shift + Enter
macOSCmd + Shift + Enter
Show parameter information
WindowsCtrl + P
macOSCmd + P
Show quick documentation
WindowsCtrl + Q
macOSF1
Move the statement up
WindowsCtrl + Shift + Up
macOSCmd + Shift + Up
Move the statement down
WindowsCtrl + Shift + Down
macOSCmd + Shift + Down
Move the line up
WindowsAlt + Shift + Up
macOSOption + Shift + Up
Move the line down
WindowsAlt + Shift + Down
macOSOption + Shift + Down
Toggle line comment
WindowsCtrl + /
macOSCmd + /
Toggle block comment
WindowsCtrl + Shift + /
macOSCmd + Option + /
Surround with
WindowsCtrl + Alt + T
macOSCmd + Option + T

Source

official JetBrains IntelliJ IDEA keyboard shortcuts · Checked

JetBrains documents predefined Windows and macOS keymaps for IntelliJ IDEA 2026.2. All bindings can be changed in Settings > Keymap, and function keys may also be claimed by the operating system.

Make a printable IntelliJ IDEA sheet