No products in the cart.

Intellij Cheat Sheet - |work|

IntelliJ IDEA is a powerhouse, but its true potential is unlocked by keeping your hands on the keyboard. This cheat sheet compiles the most essential shortcuts, live templates, and debugging tricks to speed up your workflow. Note: Shortcuts are for Windows / Linux (macOS equivalent in parentheses). 1. Navigation (Getting Around Fast) | Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | Search Everywhere (classes, files, symbols, actions) | Double Shift | Double Shift | | Go to Class | Ctrl + N | Cmd + O | | Go to File | Ctrl + Shift + N | Cmd + Shift + O | | Go to Symbol (method/field) | Ctrl + Alt + Shift + N | Cmd + Opt + Shift + O | | Recent Files | Ctrl + E | Cmd + E | | Navigate Back/Forward (cursor history) | Ctrl + Alt + Left/Right | Cmd + Opt + Left/Right | | Go to Line/Column | Ctrl + G | Cmd + G | | Last Edit Location | Ctrl + Shift + Backspace | Cmd + Shift + Backspace | | Switch between Tool Windows (Project, Run, Debug) | Ctrl + Tab | Ctrl + Tab | | Hide Active Tool Window | Shift + Esc | Shift + Esc | 2. Editing & Code Generation | Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | Basic Code Completion | Ctrl + Space | Ctrl + Space | | Smart Completion (filters type-matched suggestions) | Ctrl + Shift + Space | Ctrl + Shift + Space | | Duplicate Line/Block | Ctrl + D | Cmd + D | | Delete Line | Ctrl + Y | Cmd + Backspace | | Move Line Up/Down | Ctrl + Shift + Up/Down | Cmd + Shift + Up/Down | | Comment Line/Block | Ctrl + / | Cmd + / | | Start New Line (anywhere) | Shift + Enter | Shift + Enter | | Join Lines | Ctrl + Shift + J | Ctrl + Shift + J | | Surround With (if/else, try/catch, loops) | Ctrl + Alt + T | Cmd + Opt + T | | Unwrap/Remove (surrounding code) | Ctrl + Shift + Delete | Cmd + Shift + Backspace | | Expand/Shrink Selection | Ctrl + W / Ctrl + Shift + W | Cmd + W / Cmd + Shift + W | 3. Refactoring (Clean Code, Fast) | Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | Rename (variable, method, class) | Shift + F6 | Shift + F6 | | Extract Variable | Ctrl + Alt + V | Cmd + Opt + V | | Extract Field | Ctrl + Alt + F | Cmd + Opt + F | | Extract Constant | Ctrl + Alt + C | Cmd + Opt + C | | Extract Method | Ctrl + Alt + M | Cmd + Opt + M | | Extract Parameter | Ctrl + Alt + P | Cmd + Opt + P | | Inline (variable/method) | Ctrl + Alt + N | Cmd + Opt + N | | Copy Reference (fully qualified name) | Ctrl + Alt + Shift + C | Cmd + Opt + Shift + C | | Change Signature (method parameters) | Ctrl + F6 | Cmd + F6 | 4. Code Analysis & Fixes | Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | Show Intention Actions (quick fixes, suggestions) | Alt + Enter | Opt + Enter | | Show Error Description | Ctrl + F1 | Cmd + F1 | | Next/Previous Error | F2 / Shift + F2 | F2 / Shift + F2 | | Optimize Imports | Ctrl + Alt + O | Ctrl + Opt + O | | Reformat Code (indent, spacing) | Ctrl + Alt + L | Cmd + Opt + L | | Auto-Indent Lines | Ctrl + Alt + I | Ctrl + Opt + I | 5. Search & Replace | Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | Find in File | Ctrl + F | Cmd + F | | Replace in File | Ctrl + R | Cmd + R | | Find in Path (whole project) | Ctrl + Shift + F | Cmd + Shift + F | | Replace in Path | Ctrl + Shift + R | Cmd + Shift + R | | Search Structurally (advanced patterns) | Ctrl + Shift + S | Cmd + Shift + S | 6. Debugging (Track Down Bugs) | Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | Toggle Breakpoint | Ctrl + F8 | Cmd + F8 | | Debug Current Context | Shift + F9 | Ctrl + D | | Step Over (line by line) | F8 | F8 | | Step Into (method) | F7 | F7 | | Smart Step Into (choose which method) | Shift + F7 | Shift + F7 | | Step Out (return to caller) | Shift + F8 | Shift + F8 | | Resume Program | F9 | Cmd + Opt + R | | Evaluate Expression | Alt + F8 | Opt + F8 | | Resume to Cursor | Alt + F9 | Opt + F9 | 7. Essential Live Templates (Type & Tab) Live templates are code snippets that expand instantly. Type these abbreviations and press Tab (or Enter ).

Get quick and easy access to free practice questions for the 2026 TOEFL®

Get quick and easy access to a free practice test for the 2026 TOEFL® 

Get quick and easy access to free practice questions for the 2026 TOEFL®

All Courses, Products and Lessons Updated for 2026 TOEFL® →

TST Prep
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.