-
Notifications
You must be signed in to change notification settings - Fork 147
Description
First, thanks for developing Scalariform. I use it hundreds of times a day.
The issue: I code in an extremely functional style, and often have very long type parameter lists. For example, this is a function signature from my code:
def relativeBenchmark[E <% RuntimeConfig => ExperimentRunner[R], R <% RuntimeConfig => ExperimentSummary](experiment: E): Double
Scalariform, used from Eclipse, tries to put all the type parameters on one line, meaning the above signature would extend beyond the 80 character mark.
Ideally: Please detect when a type parameter list is long and distribute it across multiple lines. I like this format:
def relativeBenchmark[
E <% RuntimeConfig => ExperimentRunner[R],
R <% RuntimeConfig => ExperimentSummary](experiment: E): Double
I'd be happy with: Don't format type parameter lists that extend across multiple lines.