title: How to delete all unused imports from current project in Intellij Idea
body: <p>I have been using <code>Intellij Idea</code> for quite some time now. I have a few questions though. Is there a way to <strong>delete all unused imports from all files in the current project</strong>? </p>
  
  <p>I know that I can choose menu item <code>Code</code> > <code>Optimize Imports</code> (<code>CTRL + ALT + O</code>) to organize imports in individual files but since the application that I am working on has hundreds of files, this process does not make any sense. If there is no way of doing this, can I create a macro for this? If so, how do I do it?</p>