IntelliJ 14 always wants to format my code on save. Normally this is fine, but if I'm working on a file that's very poorly formatted, I'd rather it not do this. Otherwise, my changes get lost among the formatting changes. Is there a way to turn this off, either selectively or even permanently? The only thing I could find were the "@formatter" tags, which are enabled, but even when I put the whole file inside those tags, IntelliJ still wants to format it.
There we go. What I was seeing was not full formatting, but only IntelliJ stripping trailing spaces. Once I found that setting and changed it from "All" to "Modified Lines", the saves were no longer intrusive.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With