-
Notifications
You must be signed in to change notification settings - Fork 148
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
Preserve dangling brackets in parameter lists #98
Comments
+1 |
1 similar comment
+1 |
+1 |
1 similar comment
+1 |
use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Take the class definition:
case class User(id: Long, name: String, age: Int, address: String)
I would like to format this as :
case class User(
id: Long,
name: String,
age: Int,
address: String
)
When scalariform is run with 'Preserve dangling close parenthesis', it reformats this to:
case class User(
id: Long,
name: String,
age: Int,
address: String)
This feature is requesting an option so that when this case class is scalariformed, the bracket is not brought up to the preceeding line - either 'Preserve dangling close parenthesis' be made to apply to parameter lists in functions and classes, or a new option 'Preserve dangling closed parenthesis in classes and functions' be added.
The text was updated successfully, but these errors were encountered: