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.

IJ

IntelliJ IDEA IntelliJ IDEA 2024+

110 shortcuts

Common12

  • Search everywhere (classes / files / symbols / actions)
    ShiftShift
  • Find action by name
    CtrlShiftA
  • Open recent files
    CtrlE
  • Recently changed files
    CtrlShiftE
  • Open project / settings
    CtrlShiftS
  • Save all
    CtrlS (or CtrlShiftS for dialog)
  • Synchronize / reload files
    CtrlAltY
  • Close active editor tab
    CtrlF4
  • Switcher (recent files / tool windows)
    CtrlTab
  • Hide all tool windows (Distraction Free Mode)
    CtrlShiftF12
  • Open Terminal at project root
    AltF12
  • Open Settings / Preferences
    CtrlAltS

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 / column
    CtrlG
  • Go to declaration (jump to definition)
    CtrlB (or CtrlClick)
  • Go to implementation(s)
    CtrlAltB
  • Go to type declaration
    CtrlShiftB
  • Go to super-method / parent
    CtrlU
  • Go to previous / next editor tab
    Alt← / Alt
  • Go back / forward (last edit location)
    CtrlAlt← / CtrlAlt
  • File structure popup (current file outline)
    CtrlF12
  • Type hierarchy
    CtrlH
  • Method / Call hierarchy
    CtrlAltH
  • Navigate to source (F4 in tree views)
    F4
  • Show usages of selected symbol
    AltF7

Editing16

  • Basic code completion
    CtrlSpace
  • Smart code completion (type-aware)
    CtrlShiftSpace
  • Complete current statement
    CtrlShiftEnter
  • Parameter info (show hints)
    CtrlP
  • Quick documentation lookup
    CtrlQ
  • Show intention actions / quick-fixes
    AltEnter
  • Generate code (constructor / getter / setter / override)
    AltInsert
  • Override methods
    CtrlO
  • Implement methods
    CtrlI
  • Surround with (live template)
    CtrlAltT
  • Insert live template
    CtrlJ
  • Comment / uncomment line
    Ctrl/
  • Comment / uncomment block
    CtrlShift/
  • Reformat code
    CtrlAltL
  • Optimize imports
    CtrlAltO
  • Auto-indent lines
    CtrlAltI

Selection13

  • Extend selection (word / block / method)
    CtrlW
  • Shrink selection
    CtrlShiftW
  • Select current word / line / block
    CtrlW (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 / down
    CtrlShift↑ / CtrlShift
  • Move line up / down
    AltShift↑ / AltShift
  • Delete line
    CtrlY
  • Duplicate line
    CtrlD
  • Join lines (merge selected lines)
    CtrlShiftJ
  • Add / remove multi-caret at click
    AltShiftClick
  • Toggle column selection mode
    AltShiftInsert (or Altdrag)

Refactoring11

  • Rename (symbol / file / directory)
    ShiftF6
  • Refactor this (context menu)
    CtrlShiftAltT
  • Change signature
    CtrlF6
  • Extract method
    CtrlAltM
  • Extract variable
    CtrlAltV
  • Extract field
    CtrlAltF
  • Extract constant
    CtrlAltC
  • Extract parameter
    CtrlAltP
  • 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 coverage
    CtrlShiftF10
  • Choose run configuration
    AltShiftF10
  • Toggle breakpoint
    CtrlF8
  • Conditional breakpoint
    CtrlShiftF8
  • Resume program
    F9
  • Step over
    F8
  • Step into
    F7
  • Step out
    ShiftF8 (or F7 with Smart Step Into)
  • Step into my code (skip libraries)
    AltShiftF7
  • Evaluate expression
    AltF8
  • View breakpoints
    CtrlShiftF8
  • Stop process (debug)
    CtrlF2

Version control (Git)12

  • VCS popup (git / branch / log)
    Alt` (backtick)
  • Commit changes
    CtrlK
  • Push commits
    CtrlShiftK
  • Update project (git pull)
    CtrlT
  • Show diff
    CtrlD (in commit dialog or Local Changes)
  • Show history for file / selection
    CtrlShiftAltH
  • Annotate with Git blame
    CtrlShiftG (or right-click → Annotate)
  • Revert changes (file / selection)
    CtrlAltZ
  • Open Git log for file
    CtrlShiftAltL
  • Branches popup
    CtrlShift` (backtick)
  • Stash changes
    via VCS popup → Stash
  • Resolve conflicts
    AltEnter (in Merge dialog)

Tool windows & misc17

  • Open Project tool window
    Alt1
  • Open Bookmarks tool window
    Alt2
  • Open Find / Search results
    Alt3
  • Open Run tool window
    Alt4
  • Open Debug tool window
    Alt5
  • Open TODO tool window
    Alt6
  • Open Structure tool window
    Alt7
  • Open Hierarchy tool window
    Alt8
  • Open Version Control tool window
    Alt9
  • Open Terminal
    AltF12
  • Open Messages tool window
    Alt0
  • Toggle bookmark
    F11
  • Toggle bookmark with mnemonic
    CtrlF11
  • Show bookmarks
    ShiftF11
  • Open Clipboard history (paste from history)
    CtrlShiftV
  • Recent files popup
    CtrlE
  • Show / hide line numbers
    via 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.

Version 1.0.0