News for hackers. Stuff that matters.
Re:Ask HN: Awesome/neat/favourite Eclipse techniques? by ciab on Monday October 05, 2009 @12:04AM (#861174)
One of the major advantages of moving to a language aware IDE are the refactoring tools!

Rename: Alt + Shift + R (utterly invaluable)

Extract Local variable: Alt + Shift + L (Very handy for adding self documentation on complex expressions)

Inline: Alt + Shift + I

Move: Alt + Shift + V

Display Refactoring Context Menu: Alt+Shift+T

Another sweet feature I'd like to mention is Mark Occurrences - if find this invaluable for rearranging method bodies. For example, placing declarations closer to usage.

You can also distinguish reads and writes by configuring different highlight colours (Preferences->Java->Editor->Mark Occurances->Write Occurances).

I love eclipse.

There are no comments on this comment yet.