Community
Participate
Working Groups
To comment out a complete method, current options are to: - put a /* before the method, go to its end, then put a */ (if you're lucky and no block comment gets in your way); - select the complete method then invoke toggle comment on the selection. I may miss another way to do it conveniently, but I would appreciate to be able to do this just by right clicking on the method in the outline view and invoking a 'toggle method comment' kind of command (just like 'Add Comment'). The best possible result would probably be the one we get with the second bullet above.
Simply delete the method. You can get it back using local history or CVS ;-)
Well, this trick works for any set of lines indeed. But it seems to me that the toggle comment helps quite often... Or maybe I'm getting into bad habits, and this Eclipse workbench simply reveals my laziness ;-) Thx for the answer anyway.
Get rid of deprecated state.