A quick way to expand your current selection to include the next most significant element is to use the keystroke Alt-Shift-Up. Try placing your cursor in the middle of a word and hit Alt-Shift-Up. Your selection will expand to include the whole word. Say your word is a parameter in a method signature, hitting Alt-Shift-Up again [...]
Archive for December, 2007
And now for something completely different
Posted in other, tagged kathy lee would kick martha's butt on December 10, 2007 | Comments Off
Ok, this is not an Eclipse tip, unless you consider that it can improve the experience of launching the Eclipse application, in which case, yeah, I guess this is an Eclipse tip… false alarm people.
I came across a gem of a program called Launchy. Basically, it allows you to launch programs (and other things) by [...]
Fuzzy search
Posted in search, tagged holy interplanetary yard stick on December 7, 2007 | Comments Off
There are 2 essential shortcuts for searching for and opening files: Ctrl-Shift-R and Ctrl-Shift-T. The R version opens any resource that is in your project where the T version opens any type that is referenced by your project (for a java project, that could mean a type that is included in a 3rd party library).
Once you’ve [...]
Now where did I put that bug?
Posted in plugins, tagged here buggy buggy on December 6, 2007 | Comments Off
I usually take code analysis tools with a grain of salt, and with an extra shot of espresso if it’s early, but one tool that has proven useful many times is FindBugs, which is available as an Eclipse plugin. It’s easy to install because it has an update site – so there’s no excuse, go grab it. [...]
So many refactorings to pick from…
Posted in refactoring, tagged ...so much code to refactor on December 5, 2007 | Comments Off
Ok, by now we all know that REFACTORING IS GOOD. Say it again! Testify! But with so many refactoring choices in this workaday world, how is a developer to know which one to pick? Well, in a given situation Eclipse will guide you towards refactoring bliss by showing you a neat list of all the applicable refactorings. Select [...]
Line dancing
Posted in editor, tagged you can tell my arms go back into the farm on December 3, 2007 | Comments Off
I have never gone line dancing and there’s a good chance that I never will. I’m not trying to make a statement about urban cowboys. Just saying is all.
Eclipse has a way to make lines dance that Billy Ray Cyrus would be envious of. Alt-Up/Down cures your cut & paste blues and automatically indents the [...]