Community
Participate
Working Groups
This is a JDT UI feature request. When organizing imports, the list frequently fills up with third-party classes that i will never use. For instance, Assert suggests org.junit.Assert (the one I want), junit.framework.Assert, org.assertj.core.api.Assert, and org.springframework.util.Assert. To streamline future organize imports, I need to close the organize imports dialog, go to type filters, and type a filter in manually. I might forget the ".util." in org.springframework.util.Assert, so I better write that down since I can't copy and paste from the other dialog. And if I use wildcards, I risk filtering something I will need later. In other words, it's a lot of manual, error-prone work. Or I can just leave it alone and have to select junit.framework.Assert manually ten times a day. What I would like to see is a way to right-click on org.springframework.util.Assert and add it to the type filters without leaving the Organize Imports dialog. That would be a big time and frustration saver for me. Prompting me with the opportunity to turn the fully qualified name into a wildcard would be a bonus.
*** This bug has been marked as a duplicate of bug 323941 ***
*** This bug has been marked as a duplicate of bug 386125 ***