Fundamentals 26 min read

Master IntelliJ IDEA Windows Shortcuts: 90%+ Key Commands with Animated Demos

This comprehensive guide lists every essential IntelliJ IDEA Windows shortcut, organized into 16 categories with clear descriptions, animated GIF demonstrations, and practical tips to boost your Java development productivity.

Java Architect Essentials
Java Architect Essentials
Java Architect Essentials
Master IntelliJ IDEA Windows Shortcuts: 90%+ Key Commands with Animated Demos

Build / Compile

Ctrl+F9 – Build Project. Equivalent to Build → Build Project . Compiles all classes and outputs to the out directory. Supports incremental builds.

Ctrl+Shift+F9 – Recompile Current Class. Equivalent to Build → Recompile ‘class name’ . Recompiles only the opened class.

Text Editing

Ctrl+X – Cut selected text or current line if nothing is selected.

Ctrl+C – Copy selected text or current line.

Ctrl+V – Paste clipboard content.

Ctrl+Alt+Shift+V – Paste as plain text.

Ctrl+Shift+V – Paste from clipboard history.

Ctrl+D – Duplicate the current line.

Ctrl+Shift+C – Copy full file path.

Ctrl+Alt+Shift+C – Copy reference (package or class name).

Ctrl+S – Save all files.

Ctrl+Z – Undo last operation.

Ctrl+Shift+Z – Redo.

Tab – Indent; Shift+Tab – Unindent.

Ctrl+Alt+I – Auto‑indent current line or selection.

Shift+Enter – Start a new line below the current line regardless of cursor position.

Ctrl+Alt+Enter – Insert a new line above the current line.

Ctrl+Y – Delete the current line.

Ctrl+Shift+U – Toggle case of selected text.

Ctrl+Alt+Shift+Insert – Create a temporary (unsaved) file.

Cursor Operations

Ctrl+Left / Ctrl+Right – Move cursor one word left/right.

Home / End – Move to line start/end.

Ctrl+Shift+M – Jump to matching brace; press repeatedly to toggle.

Ctrl+[ / Ctrl+] – Jump to block start/end.

Alt+Down / Alt+Up – Navigate to next/previous method.

Ctrl+PageUp / Ctrl+PageDown – Scroll to top/bottom of the editor page.

PageUp / PageDown – Page up/down.

Ctrl+Home / Ctrl+End – Jump to file start/end.

Text Selection

Ctrl+A – Select all.

Shift+Left / Shift+Right – Extend selection left/right.

Ctrl+Shift+Left / Ctrl+Shift+Right – Select word left/right.

Shift+Home / Shift+End – Extend selection to line start/end.

Shift+Up / Shift+Down – Extend selection up/down.

Ctrl+Shift+[ / Ctrl+Shift+] – Select to block start/end.

Ctrl+Shift+Home / Ctrl+Shift+End – Select to file start/end.

Ctrl+W – Expand selection (semantic).

Ctrl+Shift+W – Shrink selection.

Code Folding

Ctrl+NumPad+ – Expand current code block.

Ctrl+NumPad- – Collapse current code block.

Ctrl+Alt+NumPad+ – Recursively expand.

Ctrl+Alt+NumPad- – Recursively collapse.

Ctrl+Shift+NumPad+ – Expand all.

Ctrl+Shift+NumPad- – Collapse all.

Ctrl+. – Fold selected region.

Multiple Cursors & Block Selection

Alt+Shift+Click – Add or remove a caret.

Alt+Shift+Insert – Toggle column (block) selection mode.

Double‑click Ctrl + Up – Clone caret upward.

Double‑click Ctrl + Down – Clone caret downward.

Alt+Shift+G – Add carets to every line in the current selection.

Alt+J – Select next occurrence of the word at caret.

Alt+Shift+J – Unselect last occurrence.

Ctrl+Alt+Shift+J – Select all occurrences.

Alt+Shift+Middle‑Click – Create rectangular selection.

Alt+Click – Drag to create rectangular selection.

Ctrl+Alt+Shift+Click – Drag to create multiple rectangular selections.

Assisted Coding

Alt+Enter – Show intention actions (quick‑fixes, refactorings, etc.).

Ctrl+Space – Basic code completion.

Ctrl+Shift+Space – Smart type‑matching completion.

Ctrl+Alt+Space – Second‑level completion.

Ctrl+Shift+Enter – Complete current statement.

Ctrl+Alt+L – Reformat code according to style settings.

Ctrl+P – Show parameter info.

Ctrl+Q – Quick documentation lookup.

Ctrl+Shift+Up / Ctrl+Shift+Down – Move statement up/down.

Ctrl+/ – Toggle line comment.

Ctrl+Shift+/ – Toggle block comment.

Alt+Insert – Generate code (e.g., getters/setters, constructors).

Context Navigation

Alt+Down / Alt+Up – Jump to next/previous method.

Ctrl+G – Go to line number.

Ctrl+Tab – Switch to next editor tab.

Alt+F1 – Locate current file in Project view.

Ctrl+E – Show recent files.

Ctrl+Shift+Backspace – Navigate back to last edit location.

Ctrl+Alt+Left / Ctrl+Alt+Right – Navigate backward/forward in navigation history.

Ctrl+Alt+Down / Ctrl+Alt+Up – Move to next/previous event in the Event Log.

Alt+Right / Alt+Left – Switch to next/previous editor tab.

F11 – Toggle anonymous bookmark.

Ctrl+Shift+[digit] – Switch to numbered bookmark.

Ctrl+F11 – Toggle mnemonic bookmark.

Shift+F11 – Show all bookmarks.

Ctrl+[digit] – Jump to numbered bookmark.

Alt+7 – Show Structure tool window.

Alt+3 – Show Find tool window.

Find Operations

Shift+Double‑Click – Find all occurrences of the selected text.

Ctrl+F – Find in current file.

F3 / Shift+F3 – Find next / previous.

Ctrl+R – Replace in current file.

Ctrl+Shift+F – Find in all files.

Ctrl+Shift+R – Replace in all files.

Ctrl+F3 – Find next occurrence of word at caret.

Ctrl+Shift+N – Find file by name and open.

Ctrl+F12 – Show file structure popup.

Ctrl+Alt+Shift+N – Find symbol (variable, method, class, etc.).

Ctrl+Shift+A – Find action (command).

Symbol Navigation

Alt+F7 – Find usages of a symbol.

Ctrl+B – Go to declaration.

Ctrl+Shift+B – Go to declaring class.

Ctrl+Alt+F7 – Show usages in a popup.

Ctrl+U – Go to super method.

Ctrl+Alt+B – Go to implementation.

Ctrl+Shift+F7 – Highlight usages in the current file.

Code Analysis

Alt+Enter – Show intention actions (quick‑fixes, refactorings).

Ctrl+F1 – Show error description.

F2 / Shift+F2 – Navigate to next / previous highlighted error.

Ctrl+Alt+Shift+I – Run inspection by name.

Alt+6 – Show Problems tool window.

Run and Debug

Ctrl (double‑click) – Run all configurations.

Shift+F10 – Run the selected run/debug configuration.

Alt+Shift+F10 – Open Run/Debug configuration dialog.

Shift+F9 – Debug the selected configuration.

Alt+Shift+F9 – Open Debug configuration dialog.

Ctrl+Alt+F5 – Attach debugger to a running process.

Ctrl+F2 – Stop the running configuration.

F9 – Run to next breakpoint.

Ctrl+Shift+F2 – Stop background process.

F8 – Step over.

Alt+Shift+F8 – Force step over.

F7 – Step into.

Shift+F7 – Smart step into.

Alt+Shift+F7 – Force step into.

Shift+F8 – Step out.

Alt+F9 – Run to cursor.

Ctrl+Alt+F9 – Force run to cursor.

Alt+F10 – Show execution point.

Alt+F8 – Evaluate expression.

Ctrl+Alt+F8 – Quick evaluate expression.

Ctrl+F8 – Toggle line breakpoint.

Ctrl+Alt+Shift+F8 – Toggle temporary breakpoint.

Ctrl+Shift+F8 – View and edit breakpoints.

Alt+4 / Alt+5 / Alt+8 – Show Run, Debug, and Services tool windows respectively.

Code Refactoring

Ctrl+Alt+Shift+T – Open Refactor This menu.

Shift+F6 – Rename.

Ctrl+F6 – Change method signature.

Ctrl+Alt+N – Inline variable, method, or constant.

F6 – Move class, method, or field.

Ctrl+Alt+M – Extract method.

Ctrl+Alt+F – Introduce field.

Ctrl+Alt+P – Introduce parameter.

Ctrl+Alt+V – Introduce variable.

Alt+Delete – Safe delete.

Global CVS Operations

Alt+` – Show CVS operations popup.

Ctrl+K – Commit changes.

Ctrl+T – Update project.

Ctrl+Alt+Z – Rollback.

Ctrl+Shift+K – Pull changes.

Ctrl+Alt+Shift+Down / Ctrl+Alt+Shift+Up – Navigate to next/previous change.

Alt+9 – Show Version Control tool window.

Alt+0 – Show Commit tool window.

Diff Viewer

F7 / Shift+F7 – Navigate to next / previous difference.

Ctrl+Alt+R – Accept left side change.

Ctrl+Alt+A – Accept right side change.

Ctrl+Shift+Tab – Switch focus to opposite diff pane.

Ctrl+Shift+D – Open Diff Settings dialog.

Tool Windows

Shift+Escape – Hide the active tool window.

Ctrl+Shift+F12 – Hide all tool windows.

F12 – Jump to the last tool window.

Ctrl+Alt+Shift+Left / Right – Extend the current tool window left/right.

Ctrl+Alt+Shift+Up / Down – Extend the tool window upward/downward.

Numbered tool windows (Alt+1 … Alt+9) provide quick access to common panels:

Alt+1 – Project

Alt+2 – Favorites

Alt+3 – Find

Alt+4 – Run

Alt+5 – Debug

Alt+6 – Problems

Alt+7 – Structure

Alt+8 – Services

Alt+9 – Version Control

Alt+0 – Commit

Alt+F12 – Show Terminal window.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

productivityIntelliJ IDEAdevelopment-toolskeyboard shortcutsJava IDE
Java Architect Essentials
Written by

Java Architect Essentials

Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.