IntelliJ IDEA Keyboard Shortcut Keys: Complete List (With Functions Explained)

IntelliJ IDEA is the flagship JetBrains IDE, and its shortcut system is the foundation every other JetBrains tool shares. This complete list of IntelliJ IDEA keyboard shortcut keys (Windows/Linux keymap) explains search-everywhere navigation, refactorings, editing, debugging and version control in plain words.

Search and Navigation Shortcuts

Shortcut KeyFunction
Shift, Shift (double Shift)Search Everywhere (files, classes, actions, settings)
Ctrl + Shift + AFind Action (run any IDE command by name)
Ctrl + NGo to Class
Ctrl + Shift + NGo to File
Ctrl + Alt + Shift + NGo to Symbol
Ctrl + ERecent Files popup
Ctrl + Alt + Left / Right ArrowNavigate back / forward through edit locations
Ctrl + Shift + BackspaceGo to the last edit location
Ctrl + GGo to a line/column
Ctrl + F12File Structure popup (methods of the current file)
Ctrl + HType Hierarchy
Ctrl + Shift + HMethod Hierarchy
Ctrl + Alt + HCall Hierarchy
Ctrl + B or Ctrl + clickGo to Declaration
Ctrl + Alt + BGo to Implementation
Ctrl + UGo to the super method / super class
Ctrl + Shift + BGo to Type Declaration
Ctrl + Shift + IOpen the Quick Definition lookup
Alt + F7Find Usages
Ctrl + F7Find usages in the current file (highlight)
Ctrl + Alt + F7Show Usages popup
Alt + Up / Down ArrowGo to the previous / next method
Ctrl + [ / ]Move to the code block start / end
Ctrl + TabSwitcher (jump between files and tool windows)
F4Edit Source (jump from a tool window into the editor)

Editing Shortcuts

Shortcut KeyFunction
Ctrl + SpaceBasic code completion
Ctrl + Shift + SpaceSmart code completion (type-aware)
Ctrl + Shift + EnterComplete the current statement (adds braces/semicolons)
Alt + EnterShow intention actions and quick fixes
Ctrl + PParameter info
Ctrl + QQuick documentation lookup
Ctrl + F1Show the error/warning description at the caret
Ctrl + /Comment / uncomment with a line comment
Ctrl + Shift + /Comment / uncomment with a block comment
Ctrl + WExtend the selection (word → expression → block)
Ctrl + Shift + WShrink the selection
Ctrl + DDuplicate the current line or selection
Ctrl + YDelete the line at the caret
Ctrl + Shift + JJoin lines
Shift + EnterStart a new line below
Ctrl + Shift + UToggle case of the selection
Alt + Shift + click / dragColumn (rectangular) selection mode editing
Ctrl + Shift + VPaste from the clipboard history
Ctrl + Alt + LReformat code
Ctrl + Alt + OOptimize imports
Ctrl + Alt + IAuto-indent the current lines
Tab / Shift + TabIndent / unindent the selection

Refactoring Shortcuts

Shortcut KeyFunction
Shift + F6Rename (class, method, variable — everywhere)
F6Move (class/member to another package/file)
Ctrl + Alt + Shift + TOpen the Refactor This menu
Ctrl + Alt + MExtract Method
Ctrl + Alt + VExtract Variable
Ctrl + Alt + FExtract Field
Ctrl + Alt + CExtract Constant
Ctrl + Alt + PExtract Parameter
Ctrl + Alt + NInline (variable/method)
F5Copy (class/file)
Alt + DeleteSafe Delete (checks usages first)
Ctrl + F6Change Signature

Run, Debug and VCS Shortcuts

Shortcut KeyFunction
Ctrl + F9Make (build) the project
Shift + F10Run
Shift + F9Debug
Ctrl + Shift + F10Run the current context (file/test under the caret)
Alt + Shift + F10Select a run configuration to run
Alt + Shift + F9Select a configuration to debug
F8Step over
F7Step into
Shift + F7Smart step into (choose which call to enter)
Shift + F8Step out
Alt + F9Run to the cursor
Alt + F8Evaluate an expression (while debugging)
F9Resume the program
Ctrl + F8Toggle a breakpoint
Ctrl + Shift + F8View all breakpoints
Ctrl + F2Stop the running process
Ctrl + KCommit changes (VCS)
Ctrl + TUpdate the project from VCS
Ctrl + Shift + KPush commits
Alt + ` (accent)Open the VCS operations popup
Ctrl + Alt + ZRoll back changes in the selected files
Alt + F12Open the Terminal tool window (newer versions)
Ctrl + Alt + SOpen Settings
Ctrl + Shift + F12Toggle the maximized editor
EscReturn focus to the editor
Shift + EscHide the active tool window

Tips for IntelliJ IDEA Users

Double Shift (Search Everywhere) plus Ctrl + Shift + A (Find Action) mean you never need to remember where a command lives — only what it is called. Alt + Enter is the IDE's brain: it fixes errors, adds imports, converts loops and suggests refactorings in context. And Shift + F6 (Rename) is refactoring-grade: it updates references, strings and comments safely, which plain find-and-replace can never do.

Frequently Asked Questions

What is Search Everywhere in IntelliJ IDEA?

Tap Shift twice. One box searches classes, files, symbols, actions and settings together; keep typing to filter, and Enter jumps straight there.

How do I rename a class or variable safely in IntelliJ?

Place the caret on it and press Shift + F6. IDEA renames every real reference and offers to update comments and strings too.

How do I run the current test or file?

Press Ctrl + Shift + F10 — IDEA builds a run configuration for whatever is under the caret (a test method, a main class, a file) and runs it.

How do I reformat code in IntelliJ IDEA?

Press Ctrl + Alt + L for the file (or selection), and Ctrl + Alt + O to clean up imports at the same time.

By Umar Farooq, Tech Know.

Post a Comment

0 Comments