Eclipse Tips And Tricks And Shortcuts

Eclipse is my favourite IDE that I use for java deveopment, and I have also started using it for php development. In the java world, eclipse is probably the most popular IDE out there. So I thought I would compile a load of tips and tricks to help when you are developing and debugging in java using eclipse

Basic Navigation Shortcuts

F3 – Open Declaration

The F3 key will jump to the definition/declaration of the selected element. This is also a shotcut for the menu option Navigate > Open Declaration. This can also be performed with the mouse by hovering over the item, pressing ctrl and then clicking.

Ctrl + Shift + R – Open Resource

The Ctrl+Shift+R combination will open the Open Resource window and allow you to search for files. The input field allows the ? and * wildcards to make it easy to search for files. This is probably the shortcut that I use the most when developing.

Ctrl + Shift + T – Open Type

The Ctrl+Shift+T combination opens the Open Type window that we use to search for classes, enums and interfaces. The input field allows the ? and * wildcards to make it easy to search for files.

Ctrl + Shift + G – Search Workspace

Ctrl + Shift + G will perform a search of the workspace for the selected element. The search facilities are very handy and well used by me when searching for where stuff may be referenced in code or other files.

Leave a Comment

Your email address will not be published.