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.

0
2 comments
Avatar
Permanently deleted user

Hi Jens,

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

0
Avatar
Permanently deleted user

Hi,

 

I just did. Here is the ticket: https://youtrack.jetbrains.com/issue/IDEA-176018

0

Please sign in to leave a comment.