JetBrains IntelliJ IDEA Keyboard Shortcuts
A printable reference for the most-used JetBrains IntelliJ IDEA keyboard shortcuts. Covers common actions, navigation & search, editing, selection, refactoring, run & debug, Git version control, and tool windows. Top toolbar switches between Windows, Linux, and macOS keys — the same shortcut shows the correct keys for each platform.
IntelliJ IDEA IntelliJ IDEA 2024+
110 shortcuts
Common12
- Search everywhere (classes / files / symbols / actions)ShiftShift
- Find action by nameCtrlShiftA
- Open recent filesCtrlE
- Recently changed filesCtrlShiftE
- Open project / settingsCtrlShiftS
- Save allCtrlS (or CtrlShiftS for dialog)
- Synchronize / reload filesCtrlAltY
- Close active editor tabCtrlF4
- Switcher (recent files / tool windows)CtrlTab
- Hide all tool windows (Distraction Free Mode)CtrlShiftF12
- Open Terminal at project rootAltF12
- Open Settings / PreferencesCtrlAltS
Navigation & search15
- Go to class (search by name)CtrlN
- Go to file (search by path)CtrlShiftN
- Go to symbol (function / field)CtrlAltShiftN
- Go to line / columnCtrlG
- Go to declaration (jump to definition)CtrlB (or CtrlClick)
- Go to implementation(s)CtrlAltB
- Go to type declarationCtrlShiftB
- Go to super-method / parentCtrlU
- Go to previous / next editor tabAlt← / Alt→
- Go back / forward (last edit location)CtrlAlt← / CtrlAlt→
- File structure popup (current file outline)CtrlF12
- Type hierarchyCtrlH
- Method / Call hierarchyCtrlAltH
- Navigate to source (F4 in tree views)F4
- Show usages of selected symbolAltF7
Editing16
- Basic code completionCtrlSpace
- Smart code completion (type-aware)CtrlShiftSpace
- Complete current statementCtrlShiftEnter
- Parameter info (show hints)CtrlP
- Quick documentation lookupCtrlQ
- Show intention actions / quick-fixesAltEnter
- Generate code (constructor / getter / setter / override)AltInsert
- Override methodsCtrlO
- Implement methodsCtrlI
- Surround with (live template)CtrlAltT
- Insert live templateCtrlJ
- Comment / uncomment lineCtrl/
- Comment / uncomment blockCtrlShift/
- Reformat codeCtrlAltL
- Optimize importsCtrlAltO
- Auto-indent linesCtrlAltI
Selection13
- Extend selection (word / block / method)CtrlW
- Shrink selectionCtrlShiftW
- Select current word / line / blockCtrlW (or triple-click / double-click)
- Select next occurrence (multi-caret)AltJ
- Select all occurrences (multi-caret)CtrlAltShiftJ
- Duplicate selection (caret at new line)CtrlD
- Move statement up / downCtrlShift↑ / CtrlShift↓
- Move line up / downAltShift↑ / AltShift↓
- Delete lineCtrlY
- Duplicate lineCtrlD
- Join lines (merge selected lines)CtrlShiftJ
- Add / remove multi-caret at clickAltShiftClick
- Toggle column selection modeAltShiftInsert (or Altdrag)
Refactoring11
- Rename (symbol / file / directory)ShiftF6
- Refactor this (context menu)CtrlShiftAltT
- Change signatureCtrlF6
- Extract methodCtrlAltM
- Extract variableCtrlAltV
- Extract fieldCtrlAltF
- Extract constantCtrlAltC
- Extract parameterCtrlAltP
- Inline (method / variable)CtrlAltN
- Move (statement / class)F6 (or CtrlShift↑/↓ for statement)
- Safe delete (with usages check)AltDelete
Run & debug14
- Run (current configuration)ShiftF10
- Debug (current configuration)ShiftF9
- Run with coverageCtrlShiftF10
- Choose run configurationAltShiftF10
- Toggle breakpointCtrlF8
- Conditional breakpointCtrlShiftF8
- Resume programF9
- Step overF8
- Step intoF7
- Step outShiftF8 (or F7 with Smart Step Into)
- Step into my code (skip libraries)AltShiftF7
- Evaluate expressionAltF8
- View breakpointsCtrlShiftF8
- Stop process (debug)CtrlF2
Version control (Git)12
- VCS popup (git / branch / log)Alt` (backtick)
- Commit changesCtrlK
- Push commitsCtrlShiftK
- Update project (git pull)CtrlT
- Show diffCtrlD (in commit dialog or Local Changes)
- Show history for file / selectionCtrlShiftAltH
- Annotate with Git blameCtrlShiftG (or right-click → Annotate)
- Revert changes (file / selection)CtrlAltZ
- Open Git log for fileCtrlShiftAltL
- Branches popupCtrlShift` (backtick)
- Stash changesvia VCS popup → Stash
- Resolve conflictsAltEnter (in Merge dialog)
Tool windows & misc17
- Open Project tool windowAlt1
- Open Bookmarks tool windowAlt2
- Open Find / Search resultsAlt3
- Open Run tool windowAlt4
- Open Debug tool windowAlt5
- Open TODO tool windowAlt6
- Open Structure tool windowAlt7
- Open Hierarchy tool windowAlt8
- Open Version Control tool windowAlt9
- Open TerminalAltF12
- Open Messages tool windowAlt0
- Toggle bookmarkF11
- Toggle bookmark with mnemonicCtrlF11
- Show bookmarksShiftF11
- Open Clipboard history (paste from history)CtrlShiftV
- Recent files popupCtrlE
- Show / hide line numbersvia View → Active Editor Appearance
About IntelliJ Shortcuts
JetBrains IntelliJ IDEA is the leading commercial IDE for Java and Kotlin, used by 84% of Java developers in 2024 Stack Overflow surveys and a growing share of Scala, Groovy, and Python developers. IntelliJ pioneered the "Search Everywhere" (Shift+Shift) workflow that VS Code and others later copied, and remains the gold standard for refactoring shortcuts — every "Extract method/variable/field/parameter/constant" combo and the famous Shift+F6 Rename are IntelliJ originals. This reference card covers the most-used 100+ shortcuts across 8 functional areas: Common, Navigation & search, Editing, Selection, Refactoring, Run & debug, Version control (Git), Tool windows & misc. Linux keys are nearly identical to Windows; macOS replaces Ctrl with ⌘ and Alt with ⌥ while keeping Shift as ⇧. All entries are transcribed from JetBrains' official IntelliJ IDEA documentation. How to use - Pick your platform (Windows / Linux / macOS) at the top — keys change immediately. Default detected from User-Agent and saved to localStorage. - Type any word in the search box (e.g. "refactor", "debug", "git") to filter. Search matches feature names and keys on all platforms. - Click any row's Copy button to grab the current platform's key string. - Export PNG (2400×1140 landscape) for a printable wallpaper; PDF for a single A4 landscape page. Tips - Shift+Shift (Search Everywhere) is the single most useful shortcut — it searches classes, files, symbols, actions, and even recent files at once. - Alt+Enter (Show intention actions) fixes warnings, optimizes imports, generates code. Combine with Ctrl+Shift+A (Find Action) to discover anything. - Ctrl+W / Ctrl+Shift+W extend/shrink selection intelligently — start at the cursor, grow to word → expression → line → block → method. - Ctrl+Alt+L reformat code to project style; Ctrl+Alt+O optimize imports. Both run on save if enabled. Why this separate from vscode-shortcuts? IntelliJ's shortcut ecosystem is built around Java/Kotlin refactoring and IDE tool windows — a different world from VS Code's editor-centric model. Mixing them would dilute both tools. This separation keeps each printable as one page.
Disclaimer
This shortcut reference website is a third-party unofficial tool. It has no affiliation, investment, authorization, or official partnership with the trademark holders of any software products mentioned on these pages.
All shortcut information is sourced from publicly available online materials and verified through local software testing, and is provided for learning and reference purposes only. We do not guarantee absolute accuracy, completeness, or real-time compatibility with every version of the software. Shortcut behavior may differ across software versions and operating systems — please refer to the official documentation of each software as the source of truth.
All product names, trademarks, and logos appearing on these pages are the property of their respective copyright holders / trademark owners. They are used here for descriptive purposes only, to identify the corresponding software, and do not imply any endorsement or license from the trademark holder.
If a copyright holder or trademark owner believes that any content on this site infringes their rights, please send an email to [email protected]. Upon receiving valid proof of rights, we will modify or remove the relevant content within a reasonable period.
This website assumes no legal liability for any direct or indirect losses arising from the use of information presented on these pages.
Version 1.0.0