Community
Participate
Working Groups
Build Identifier: 20120216-1857 When verifying all my files that are going to be checked in using SVN synchronize using Compare editor, I usually remove a block of code which I feel is not appropriate to check in. When I remove this block of code, there are some unused imports in the class. I always check the "unused imports" option in Save actions to remove imports which are not being used in my code. However in this Compare editor mode, the imports are not removed when I save the class after modifying it and removing some unwanted code. I have to manually delete the imports. Reproducible: Always Steps to Reproduce: 1.Check Organize Imports in Save Actions in your preferences. 2.Now open two versions of file in a Compare Editor 3.In the local version, remove a block of code so that there is some unused imports. 4.As per the preference, These imports should also be removed when the local class file is saved. 5. However this does not happen and user has to manually remove the unused imports.
*** This bug has been marked as a duplicate of bug 253184 ***
*** This bug has been marked as a duplicate of bug 385996 ***