Purely at random, Reformat Code (Ctrl-Alt-L) stops working for Scala code. It then says "Code is already properly formatted" This often happens when I have (case) classes or methods with a lot of parameters.
I often experience it the following: I start a new file, then reformat code is working. After writing some code, at one point (which seems purely random) it stops working.
I am using IntelliJ IDEA 2017.1.5.