Yes, I’m finally using Eclipse. I tried to use it about 6 months when 3.0 came out, but just couldn’t do it. At my old job nobody used it. Hardly anybody even used an IDE. It was all cmd-line and vim. I was very productive in that environment. Now, at my new job, Eclipse is a requirement.
Therefore, I’m starting this new category, “Eclipse Tips and Tricks”. Mostly, it will be asking how do I do such and such. So I’ll be looking for feedback on the tips and tricks I want to use. I’ll also update each entry when I figure out how to do the various things I’m asking about. That way, I’ll have something to go back and look at. I guess I should move this stuff to a wiki, but that can be a project for another day.
Drum roll, please……..
First tip I need.
How can I quickly remove a method from a class? Or, what is the best way to remove a method from a class? The very generic gui way would be to simply high-light the method in my editor and click my Delete key. Surely, there is a quicker way……..
The best way that I can tell is to use the Outline View. A simple right-click of the method name and then selecting ‘Delete’ from the context menu does the trick. Thanks to Chad Bakerfor that advice and also to Joakim Erdfelt for his tip. It will show up shortly in a keyboard shortcut Tip and Trick.