Remove blank lines before end marker #4803
-
I would like to achieve {ruby/elixir}-like formatting, where end marker statements are symmetric to their starting counterparts. I tried adjusting Initial codeobject Object:
def fun1 =
val x = ???
x
end fun1
def fun2 =
val x = ???
x
end fun2
end Object Desired code after formatobject Object:
def fun1 =
val x = ???
x
end fun1
def fun2 =
val x = ???
x
end fun2
end Object |
Beta Was this translation helpful? Give feedback.
Answered by
kitbellew
Feb 11, 2025
Replies: 1 comment
-
blank lines are not removed for non-top-level statements. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ruslanSorokin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
blank lines are not removed for non-top-level statements.