How to bulk cleanup imports in Java with Eclipse?

usr picture usr · Nov 21, 2009 · Viewed 8.3k times · Source

On a generated project I get 100s of warnings caused by unused imports and such things. Can I bulk cleanup those imports for all files?

Answer

Mirek Pluta picture Mirek Pluta · Nov 21, 2009

In package explorer right click on the root package of your project and choose source -> organize imports