ECLIPSE & INTELLIJ IDEA SHORTCUTS

Quick Reference Cheat Sheet for Java Developers

IDE Keyboard Shortcut Cheat Sheet

This page converts the uploaded one-page Eclipse and IntelliJ IDEA shortcut reference into a clean, responsive HTML format. The original document contains Eclipse shortcuts, IntelliJ IDEA equivalents, and a short description for each command.

Complete Shortcut Reference

Eclipse IntelliJ IDEA Description
F4 Ctrl + H Show the type hierarchy
Ctrl + Alt + G Ctrl + Alt + F7 Find usages
Ctrl + Shift + U Ctrl + F7 Finds the usages in the same file
Alt + Shift + R Shift + F6 Rename
Ctrl + Shift + R Ctrl + Shift + N Find file / open resource
Ctrl + Shift + X, J Ctrl + Shift + F10 Run Java program
Ctrl + Shift + O Ctrl + Alt + O Organize imports
Ctrl + O Ctrl + F12 Show current file structure / outline
Ctrl + Shift + M Ctrl + Alt + V Create local variable refactoring
syso + Ctrl + Space sout + Ctrl + J System.out.println("")
Alt + Up / Down Ctrl + Shift + Up / Down Move lines
Ctrl + D Ctrl + Y Delete current line
??? Alt + H Show Subversion history
Ctrl + H Ctrl + Shift + F Search (find in path)
"semi" in Window → Preferences Ctrl + Shift + Enter Add the semicolon at the end of a statement
Ctrl + 1 or Ctrl + Shift + I Ctrl + Alt + V Introduce local variable
Alt + Shift + S Alt + Insert Generate getters / setters
Ctrl + Shift + F Ctrl + Alt + L Format code
Ctrl + Y Ctrl + Shift + Z Redo
Ctrl + Shift + C Ctrl + / Comment out lines.
Original note: user's own IDEA shortcut definition for comment/uncomment on German keyboard layout: Ctrl + Shift + Y
Ctrl + Alt + H Ctrl + Alt + H Show call hierarchy
None ? Ctrl + Alt + F7 Jump to one of the callers of a method
Ctrl + Shift + I Alt + F8 Evaluate expression in debugger
F3 Ctrl + B Go to declaration (e.g. go to method)
Ctrl + L Ctrl + G Go to line
Purpose Eclipse IntelliJ IDEA
Type hierarchy F4 Ctrl + H
Find usages Ctrl + Alt + G Ctrl + Alt + F7
Find usages in same file Ctrl + Shift + U Ctrl + F7
Find file / open resource Ctrl + Shift + R Ctrl + Shift + N
Current file structure / outline Ctrl + O Ctrl + F12
Go to declaration F3 Ctrl + B
Go to line Ctrl + L Ctrl + G

Editing & Code Formatting

Purpose Eclipse IntelliJ IDEA
Move lines Alt + Up / Down Ctrl + Shift + Up / Down
Delete current line Ctrl + D Ctrl + Y
Format code Ctrl + Shift + F Ctrl + Alt + L
Comment / uncomment lines Ctrl + Shift + C Ctrl + /
Generate getters / setters Alt + Shift + S Alt + Insert
System.out.println() syso + Ctrl + Space sout + Ctrl + J

Refactoring

Purpose Eclipse IntelliJ IDEA
Rename Alt + Shift + R Shift + F6
Create / introduce local variable Ctrl + Shift + M Ctrl + Alt + V
Introduce local variable Ctrl + 1 / Ctrl + Shift + I Ctrl + Alt + V

Run & Debugging

Purpose Eclipse IntelliJ IDEA
Run Java program Ctrl + Shift + X, J Ctrl + Shift + F10
Evaluate expression in debugger Ctrl + Shift + I Alt + F8
Call hierarchy Ctrl + Alt + H Ctrl + Alt + H
Jump to callers of a method None ? Ctrl + Alt + F7
Note: This HTML intentionally preserves the shortcuts and descriptions from the uploaded reference rather than silently replacing them with different shortcuts. Some entries in the source are marked as ??? or None ?, and those labels have been retained.