-
Notifications
You must be signed in to change notification settings - Fork 147
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
Put implicit parameter list in new line if characters in line exceeds the limit #196
Comments
yes!!! So much yes |
but maybe with aligned
|
Both options could be accepted. What I don't like about the aligned |
Line limits in general would be really, really nice. It's something I've halfheartedly looked into in the past. |
I want this feature too. Any news about whether anything like would be available soon? |
@mjaghouri a fix for #77 is in progress. It won't be enforced automatically, but will allow param groups to exist on multiple lines (vs. forcing to single line as is the case now).
This is in place on local dev branch. Working on Scala IDE integration, hope to have available within next couple of days, time permitting. |
/me checks the scalafmt docs... |
Fixed in 0.2.4, see the readme and this comment for details |
I think it would be very useful to have this configuration. Most of the times, when a method signature is very long, one wants to put in a new line a part of the declaration (and most of the times that's an implicit parameter list). Also, this new line is usually indented.
Example:
would be converted into
The text was updated successfully, but these errors were encountered: