Wouldn't it be nice to just do a keystroke and have eclipse organize all imports in all java classes instead of just the one you are looking at? Is this possible? Is there a keystroke for it?
views:
828answers:
2
+2
A:
You can edit the clean up options on save to make it organize imports. That way all of your imports will always be organized.
In eclipse 3.4 just go into Window - Preferences. In the tree view look under Java -- Editor -- Save Actions.
This is how I keep my imports organized all of the time.
jjnguy
2008-12-31 17:35:38
Awesome I will be adding this stuff to our repositories as well. Thanks
mugafuga
2008-12-31 17:53:19
Hey I am using RAD7 and clean up doesn't show up when you filter.. What part of the prefs is this under so I can attempt to find it
mugafuga
2008-12-31 17:55:44
look at the edited answer now. that should work better
jjnguy
2008-12-31 18:00:40
Arrgh rad 7 doesn't have it bummer
mugafuga
2008-12-31 20:30:49
Great stuff. It might save me from RSI.
bmatthews68
2009-01-01 16:25:35