I am using Eclipse (Version: Kepler Service Release 1). When I have a file open, I can right-click, select Source, and select Organize Imports. However, when I click the project or a folder within the project, this option does not show up. The only option that shows up on the Source menu is Format. Ctrl-Shift-O also does not work.
My project is in the buildpath and the project compiles. And, another developer on my team with the same configuration sees the same behavior.
Thanks in advance for your suggestions.
You should use Package Explorer for that. If it is not visible, open it from Window -> Show View -> Package Explorer
.
Then you can either perform Ctrl+Shift+O
on the project, or via right click -> Source -> Organize Imports
. You can do this on packages, as well.