I have 60 Java classes in an Eclipse project that I am reorganizing (everything was in the default package, ick!), Which should import another project into the project (recently created by another refactoring).
I would prefer not to do Ctrl+Shift+Ofor each file. Is there any way to speed this up?
Ctrl+Shift+O
Select the project in the package tree and press Ctrl-Shift-O. He will organize the import for all project files.
Righclick in the source folder → Source → Organize Import.
Ctrl-Shift-O.
→ "" →
Ctrl-Shift-O The shortcut is useful for organizing import statements.
Ctrl-Shift-O
You have many shortcuts in the Eclipse IDE -
Ctrl-Shift-l will show shortcuts in eclipse
Ctrl-Shift-l