title: How to remove unused imports in Intellij IDEA on commit?
body: <p>Is there a way to remove unused imports in Intellij IDEA on commit?</p>
  
  <p>It is not very optimal to do it manually, <kbd>CTRL</kbd> + <kbd>ALT</kbd> + <kbd>O</kbd> helps but it's still manual.</p>