forked from scala-ide/scalariform
-
Notifications
You must be signed in to change notification settings - Fork 31
Formatter preferences
mdr edited this page May 3, 2012
·
4 revisions
Default: false
Align class/function parameters in the same column. For example, if false, then:
class Person(name: String,
age: Int,
birthdate: Date,
astrologicalSign: String,
shoeSize: Int,
favoriteColor: java.awt.Color)
If true, then:
class Person(name: String,
age: Int,
birthdate: Date,
astrologicalSign: String,
shoeSize: Int,
favoriteColor: java.awt.Color)
This option is disabled if indentWithTabs
is true.
Default: false
Align the arrows of consecutive single-line case statements. For example, if true, then:
a match {
case b => 1
case ccc => 2
case dd => 3
}
Is reformatted as:
a match {
case b => 1
case ccc => 2
case dd => 3
}
This option is disabled if indentWithTabs
is true.
- Home - Overview of Scalariform
- Command-line tool
- Maven plugin
- Library
- Formatter preferences