-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not add a new line in multilevel chained package clause #1594
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,16 @@ package b { | |
import a.b.c | ||
class d {} | ||
} | ||
<<< #mytest | ||
package a.b.c | ||
package d.e | ||
package f | ||
import g.h.i.j | ||
package k {} | ||
>>> | ||
package a.b.c | ||
package d.e | ||
package f | ||
|
||
import g.h.i.j | ||
package k {} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should there be an empty line here as well? perhaps it was this way before. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently, scalafmt does not change formatting between import and class and keeps an empty line (if it present) as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this pattern match
package a.b.c {
as well? there might anApply
there somewhere.