Sometimes, due to a bad patch/merge, or to an incorrect IDEA setting, many whitespace-only will happen. I hate commiting this kind of changes together with meaninful changes, so I revert them all before commiting.
I'd love IDEA a bit more if it did it for me. Here are a few places where this could be offered
- Right-click on the editor
- Diff window
- Commit window
- Changes window
And any other places that deals with changes.