0% found this document useful (0 votes)
8 views

Eclipse Java Shortcuts CheatSheet

The document is a cheat sheet for Eclipse Java Developer shortcuts, providing key combinations for code generation, navigation, refactoring, editing, formatting, running, and debugging. It includes essential shortcuts like generating methods, navigating to errors, and running/debugging code. Additionally, it offers productivity tips for efficient coding within the Eclipse environment.

Uploaded by

techjam017
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Eclipse Java Shortcuts CheatSheet

The document is a cheat sheet for Eclipse Java Developer shortcuts, providing key combinations for code generation, navigation, refactoring, editing, formatting, running, and debugging. It includes essential shortcuts like generating methods, navigating to errors, and running/debugging code. Additionally, it offers productivity tips for efficient coding within the Eclipse environment.

Uploaded by

techjam017
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Eclipse Java Developer Shortcut Cheat Sheet

Code Generation & Navigation

Override/Implement Methods Alt + Shift + S, then V

Generate Getters and Setters Alt + Shift + S, then R

Generate Constructor from fields Alt + Shift + S, then O

Generate toString() method Alt + Shift + S, then S

Generate hashCode() and equals() Alt + Shift + S, then H

Quick Fix (auto-import, error fix) Ctrl + 1

Auto-complete / content assist Ctrl + Space

Open Declaration F3

Open Type (Class Search) Ctrl + Shift + T

Open Resource (File Search) Ctrl + Shift + R

Go to Superclass Ctrl + T

Show method hierarchy Ctrl + Alt + H

Show Call Hierarchy Ctrl + Alt + H (select method)

Navigation

Go to Line Ctrl + L

Go to Next Error/Warning Ctrl + .

Back / Forward Navigation Alt + Left Arrow / Right Arrow

Open Last Edited File Ctrl + Q

Quick Outline of a class Ctrl + O

Refactoring

Rename (Variable/Class/Method) Alt + Shift + R

Extract Method Alt + Shift + M

Extract Local Variable Alt + Shift + L

Extract Constant Alt + Shift + C

Inline Variable Alt + Shift + I

Editing & Formatting

Format code Ctrl + Shift + F

Organize Imports Ctrl + Shift + O


Eclipse Java Developer Shortcut Cheat Sheet

Add Block Comment Ctrl + Shift + /

Remove Block Comment Ctrl + Shift + \

Single-line Comment/Uncomment Ctrl + /

Running & Debugging

Run Ctrl + F11

Debug F11

Step Into F5

Step Over F6

Step Return F7

Resume Execution F8

Toggle Breakpoint Ctrl + Shift + B

Productivity Tips

Show all shortcuts Ctrl + Shift + L

Quick switch between open editors Ctrl + E

Go to matching bracket Ctrl + Shift + P

Delete current line Ctrl + D

Copy current line down/up Ctrl + Alt + Down Arrow / Up Arrow

Move current line up/down Alt + Up Arrow / Down Arrow

You might also like