Skip to content
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

Allow expression break after open paren #33

Closed
mdr opened this issue Oct 7, 2011 · 2 comments
Closed

Allow expression break after open paren #33

mdr opened this issue Oct 7, 2011 · 2 comments

Comments

@mdr
Copy link
Collaborator

mdr commented Oct 7, 2011

Ported from issue #32:

Thank you for explaining, it's not an urgent need, but it would be nice if it were supported at some point. If you want to fix individual cases, then my biggest pain point is scalariform moving:

(
  a_long_line &&
  b_long_line
)

to

(a_long_line &&
   b_long_line)

which I find notpretty at all...

@hseeberger
Copy link

Would that also include the following?

case class Foo(
  bar: String
  baz: Int
)

Currently the line break for the close parenthesis is swallowed:

case class Foo(
  bar: String
  baz: Int)

@godenji
Copy link
Collaborator

godenji commented Jul 13, 2017

use DanglingCloseParenthesis -> Force

@godenji godenji closed this as completed Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants