Reformat code (Ctrl-Alt-L) does not always reformat Scala code, states it is properly formatted

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.

Comment actions Permalink

Hi Jens,

Can you please create a ticket and attach your idea.log file?


Please sign in to leave a comment.