Eclipse Tips
From Mugshot Developer Wiki
A random page with Eclipse tips and tricks Mugshot developers have found essential.
[edit]
Keybindings
- Ctrl-Shift-r - Open a resource by name
- Alt-Shift-w - Show the open resource in the explorer (combined with above, greatly reduces clicking)
- Ctrl-Shift-g - References to currently selected java function
- Ctrl-1 - Quick fix
- Ctrl-2 r - In-place rename
- Ctrl-Shift-o - Organize imports
- Control-t - Quick type hierarchy (use on a session bean method name to find the implementation)
[edit]
Project tweaks
You should mark directories with generated files (e.g. your bin) as "Derived" - this has several effects, but the most important is they don't show up in Ctrl-Shift-r; i.e. you won't get Foo.class when you're looking for Foo.java. To mark something like this, right-click on the folder, select Properties, then check Derived.

