Is there an option in IntelliJ Idea 15.0.3 to optimize the imports in all files of a custom scope or matching a file name pattern?
The dialog for "Code | Optimize imports" does not have such an option. The dialog for "Code | Reformat Code" has an option to restrict the operation to some scope or file mask but it also reformats code that does not match the code style, which I do not want.
Is there another option (maybe in some plugin?) or a simple workaround to just optimize the imports of some files of a certain type?