I'm working on a JUnit project on eclipse , please help me to organize imports ,because im using checkList plugin. I tried source +organize imports also , I tried Control+Shift +o , but both of them did not work . can you help .
Asked
Active
Viewed 1,600 times
2 Answers
2
To enable this, go to Windows -> Preferences -> Java -> Editor -> Save Actions and then enable Perform the selected action on save -> Organize imports. After this, whenever you save a java file, eclipse will remove the unused imports automatically.
Little googling might help

Shubham
- 997
- 1
- 9
- 15
-
It did not work ! there is nothing like organize imports when I go to selected action on save – Adam Oct 10 '18 at 17:45
-
0
To fix this issue:
Go to Preferences -> General -> Keys Click on Filters... and de-select Filter uncategorized commands then Ok.
Then look for the command Go To Symbol in File and select it. Then click on Unbind and then Apply and Close
Ctrl+Shift+O. should now work.
Note:
Also unbind any other conflicting commands and leave only one command for Ctrl+Shift+O and set the When to Editing Java Source.

Sandunka Mihiran
- 556
- 4
- 19
-
did not work , couldn't understand what you mean by ( then look for the command Go to symbol ?????) – Adam Oct 10 '18 at 17:49