Back
IJ
IntelliJ IDEA
IntelliJ IDEAProductivity

5 IntelliJ Shortcuts Every Java Dev Should Know

Master these keyboard shortcuts to 10x your coding speed and impress your colleagues. ⌨️

Ramjee Prasad
Dec 22, 2025
5 min

Why Keyboard Shortcuts Matter

Every second you spend reaching for your mouse is a second you could be writing code. IntelliJ IDEA is packed with shortcuts that can dramatically speed up your workflow. Here are the 5 essential shortcuts that every Java developer should memorize.

#1

Search Everywhere

The most powerful shortcut in IntelliJ. Find any file, class, symbol, action, or setting in your entire project with a single keystroke.

Shortcut
Shift+Shift

💡 Pro Tip: Press Tab to switch between 'All', 'Classes', 'Files', 'Symbols', and 'Actions' tabs for more focused results.

#2

Generate Code

Instantly generate constructors, getters/setters, equals/hashCode, toString, and more. Never write boilerplate code manually again!

Shortcut
Alt+Insert

💡 Pro Tip: Works inside classes to generate methods, or in directories to create new files and classes.

#3

Smart Refactoring

Access all refactoring options: rename, extract method/variable, inline, change signature, and more. IntelliJ handles all references automatically.

Shortcut
Ctrl+Alt+Shift+T

💡 Pro Tip: Use Shift + F6 for quick rename - it's the most commonly used refactoring operation.

#4

Quick Fix / Show Intentions

The red light bulb's best friend! Shows all available quick fixes, intentions, and code actions at your cursor position.

Shortcut
Alt+Enter

💡 Pro Tip: This is your go-to for auto-imports, implementing interfaces, creating methods, and fixing errors.

#5

Debug Evaluate Expression

While debugging, evaluate any expression, call methods, or inspect variables on the fly without modifying your code.

Shortcut
Alt+F8

💡 Pro Tip: You can also select code in the editor and press this shortcut to evaluate that specific expression.

🎁 Bonus Quick Shortcuts

Duplicate line
Ctrl + D
Delete line
Ctrl + Y
Comment line
Ctrl + /
Go to declaration
Ctrl + B
Reformat code
Ctrl + Alt + L
Find in files
Ctrl + Shift + F

🚀 Practice Makes Perfect!

Start using these shortcuts today. It might feel slow at first, but within a week, they'll become second nature and you'll wonder how you ever coded without them.

Read: Spring Boot Annotations

Written by Ramjee Prasad • Backend Developer