intellij-erlang icon indicating copy to clipboard operation
intellij-erlang copied to clipboard

Formatting blocks following the assignment ignores indentation of the starting keyword

Open brigadier opened this issue 9 years ago • 3 comments

At the moment case, if and some other operators formatted as

SomeLongVar = case Y of
                  Z -> ...
              end.

but funs are formatted as

SomeLongVar = fun() ->
    Y
              end.

brigadier avatar Jan 04 '16 19:01 brigadier

What is the issue you are reporting?

wmorrison1967 avatar Jan 08 '16 05:01 wmorrison1967

Similar problem, when formatting a -define(...) block which contains comments. The comments are formatted with the indent 0

kvakvs avatar Aug 01 '19 13:08 kvakvs

Has this problem not been solved?

fengyuyu avatar Jul 06 '23 06:07 fengyuyu