IntelliJ IDEA Windows Shortcut Keys Reference with Animated Demonstrations
This article provides a comprehensive reference of IntelliJ IDEA (Windows) shortcut keys, organized into 16 categories such as building, editing, navigation, debugging, refactoring, and version control, each accompanied by animated GIF demonstrations to illustrate the actions.
IntelliJ IDEA (Windows) offers a rich set of keyboard shortcuts to improve development efficiency. The shortcuts are grouped into the following sections, each illustrated with animated GIFs.
1. Build / Compile
Ctrl + F9 : Build the project (equivalent to the menu Build → Build Project ).
Ctrl + Shift + F9 : Recompile the current class (equivalent to Build → Recompile ‘class name’ ).
2. Text Editing
Ctrl + X : Cut selected text; if nothing is selected, cuts the current line.
Ctrl + C : Copy selected text; if nothing is selected, copies the current line.
Ctrl + V : Paste.
Ctrl + Alt + Shift + V : Paste as plain text.
Ctrl + Shift + V : Paste from history.
Ctrl + D : Duplicate the current line.
Ctrl + Shift + C : Copy the file path of the selected file.
Ctrl + Alt + Shift + C : Copy reference (package path or class name).
Ctrl + S : Save all files.
Ctrl + Z : Undo the last action.
Ctrl + Shift + Z : Redo the undone action.
3. Cursor Operations
Ctrl + Left : Move cursor one word to the left.
Ctrl + Right : Move cursor one word to the right.
Home : Move to the beginning of the line.
End : Move to the end of the line.
Ctrl + Shift + M : Move to the matching brace.
Ctrl + [ / Ctrl + ] : Jump to the start/end of a code block.
4. Text Selection
Ctrl + A : Select all.
Shift + Left / Shift + Right : Extend selection one character left or right.
Ctrl + Shift + Left / Ctrl + Shift + Right : Extend selection one word left or right.
Shift + Home / Shift + End : Select from cursor to line start/end.
Ctrl + Shift + Home / Ctrl + Shift + End : Select from cursor to file start/end.
5. Code Folding
Ctrl + NumPad+ : Expand the current code block.
Ctrl + NumPad- : Collapse the current code block.
Ctrl + Alt + NumPad+ : Recursively expand.
Ctrl + Alt + NumPad- : Recursively collapse.
Ctrl + Shift + NumPad+ : Expand all.
Ctrl + Shift + NumPad- : Collapse all.
6. Multiple Cursors & Range Selection
Alt + Shift + Click : Add or remove a caret.
Alt + Shift + Insert : Toggle column selection mode.
Ctrl + Alt + Shift + Click : Drag to create multiple rectangular selections.
7. Assist Coding
Alt + Enter : Show intention actions (context‑sensitive suggestions).
Ctrl + Space : Basic code completion.
Ctrl + Shift + Space : Smart type‑matching completion.
Ctrl + Alt + L : Reformat code.
Ctrl + / : Toggle line comment.
Ctrl + Shift + / : Toggle block comment.
8. Context Navigation
Alt + Down / Alt + Up : Navigate to next/previous method.
Ctrl + G : Go to a specific line number.
Ctrl + Tab : Switch between open files.
Alt + F1 : Locate the current file in the project view.
9. Search Operations
Ctrl + F : Find text in the current file.
F3 / Shift + F3 : Find next / previous occurrence.
Ctrl + R : Replace text in the current file.
Ctrl + Shift + F : Find text in all files.
Ctrl + Shift + R : Replace text in all files.
10. Symbol Navigation
Alt + F7 : Find usages of a symbol.
Ctrl + B or Ctrl + Click : Go to declaration.
Ctrl + Alt + B : Go to implementation.
11. Code Analysis
Alt + Enter : Show intention actions for code issues.
Ctrl + F1 : Show error description.
F2 / Shift + F2 : Navigate to next / previous highlighted error.
12. Run & Debug
Shift + F10 : Run the current configuration.
Alt + Shift + F10 : Open the Run/Debug configuration selector.
Shift + F9 : Debug the current configuration.
F9 : Resume program until next breakpoint.
F8 : Step over.
F7 : Step into.
Shift + F8 : Step out.
Ctrl + F8 : Toggle line breakpoint.
13. Refactoring
Ctrl + Alt + Shift + T : Open the Refactor This menu.
Shift + F6 : Rename symbol.
Ctrl + Alt + N : Inline variable or method.
Ctrl + Alt + M : Extract method.
14. Global CVS Operations
Ctrl + K : Commit changes.
Ctrl + T : Update project.
Ctrl + Alt + Z : Revert changes.
15. Diff Viewer
F7 / Shift + F7 : Navigate to next / previous difference.
Ctrl + Alt + R : Accept left side change.
Ctrl + Alt + A : Accept right side change.
16. Tool Windows
Shift + Escape : Hide the active tool window.
Ctrl + Shift + F12 : Hide all tool windows.
Alt + 1 … Alt + 9 : Show Project, Bookmarks, Find, Run, Debug, Problems, Structure, Services, Version Control, Commit windows respectively.
All shortcuts are presented with animated GIFs that demonstrate the exact effect of each key combination.
IT Services Circle
Delivering cutting-edge internet insights and practical learning resources. We're a passionate and principled IT media platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.