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

Do not cut-down when f => f2 => { code } #45

Closed
ktoso opened this issue Feb 2, 2015 · 0 comments
Closed

Do not cut-down when f => f2 => { code } #45

ktoso opened this issue Feb 2, 2015 · 0 comments

Comments

@ktoso
Copy link

ktoso commented Feb 2, 2015

In an example like this:

trait Context
case class Thing()(mk: Context  Int  Unit)

// what I want:
Thing() { implicit ctx  j 
  ???
}

yet scalariform forces this to be formatted as (breaking the line after the first function arrow):

// what scalariform forces
Thing() { implicit ctx  
  j 
    ???
}

Making the entire thing less readable. We need this to be formulated like this because the ctx needs to be implicit, and it wouldn't work with making it a function of Tuple2.

Is there a setting I've missed which could disable this formatting or will this need to be fixed?

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

1 participant