How to force blank line between import statements and class declaration? #3926
Answered
by
tgodzik
knopp10000
asked this question in
Q&A
-
Is it possible to force a blank line after the last import statement in all files? So that code that looks like this:
Looks like:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
tgodzik
Apr 12, 2024
Replies: 1 comment
-
I think:
should help. You might want to take a look at https://scalameta.org/scalafmt/docs/configuration.html#newlinestoplevelstatementblanklines |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
knopp10000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think:
should help.
You might want to take a look at https://scalameta.org/scalafmt/docs/configuration.html#newlinestoplevelstatementblanklines