mdr/scalariform — Issue #34: Formatter Feature Request: Brace location
Author: jschwietert
Created: 2011-10-17 01:25:21+00:00
State: open

It would be great to add functionality in your lib similar to eclipses java formatter tab for braces - found in preferences under: Java -> Code Style -> Formatter.

The following is an example of the functionality I'm referring to
above:
Now:
object Runner {
def main(args: Array[String]) {
println("Hello World")
}
}

After formatting:
object Runner
{
def main(args: Array[String])
{
println("Hello World")
}
}