Is there any way to automatically remove all unused imports (signaled with a warning) of a project with Eclipse IDE?
Remove all unused import in eclipse:
Right click on the desired package then Source->Organize Imports. Or You can direct use the shortcut by pressing Ctrl+Shift+O
Work perfectly.