Eclipse-CheatSheet

Master Eclipse with this comprehensive cheatsheet. Learn essential keyboard shortcuts, navigation tips, and code style optimization techniques to boost your productivity.

Eclipse Cheatsheet

Eclipse Cheat Sheet

  1. Open Resource - Open any file quickly without browsing for it in the Package Explorer
CTRL+Shift+R

Open Resource

  1. Open Type - Open a type
CTRL+Shift+T
  1. CTRL+O Go directly to a member CTRL+Shift+DOWN or CTRL+Shift+UP to jump from member to member

  2. CTRL+L, enter line number Go to line number N in the source file

  3. ALT+Shift+S,R Generate getters and setters

  4. CTRL+Q Go to the last edit location

  5. CTRL+T Go to a supertype/subtype

  6. CTRL+E Go to other open editors

  7. CTRL+. for next, CTRL+, for previous problem Move to one problem

  8. ALT+<- (left arrow) and ALT+-> (right arrow) Hop back and forth through the files you have visited

  9. F3 Go to a type declaration, alternatively hold CTRL down and click the hyperlinked variable or class

  10. F4 Open type hierarchy to show subclasses of a class or interface.

  11. CTRL+Shift+G - search for references to selected method or variable

  12. CTRL+ALT+H - show call hierarchy

  13. CTRL+. - go to next error

  14. CTRL+F11 - run the application

  15. ALT+Shift+R - rename

  16. CTRL+D - delete a line

Delete a line in Eclipse

  1. Navigate between tabs
  2. CTRL+E
  3. CTRL+F6
  4. CTRL+Page Up
  5. CTRL+Page Down

Eclipse HotKey: how to switch between tabs?

  1. Lowercase or uppercase a string
CTRL + Shift + Y - to lowercase
CTRL + Shift + X - to uppercase

Changing the case of a string in Eclipse

  1. How to increase console buffer size

Preferences >> Run/Debug
Then Uncheck Limit console output

How to Increase Console Buffer Size in Eclipse IDE - Output and Debug Console

Java Code Style Template

Navigate to Windows >> Preferences >> Java >> Code Style >> Formatter then click on the Edit... button.

Java Code Style

Eclipse Menus and Actions

Help >> Help Contents >> Java Development User Guide >> Reference >> Menus and Actions

Eclipse Menus and Actions

http://rayfd.me/2007/05/20/10-eclipse-navigation-shortcuts-every-java-programmer-should-know/

It turns out the above link is dead but I captured it in Evernote. As time permits, I'll add the screen shots to this cheat sheet.