Style Settings : Spaces

It seems in the Code Style->Scala settings for Spaces, the switches 'Within Method call parentheses' and 'Within Method declaration parentheses' don't work. I still get

class B[ A ](i: Int, val b: String) extends AnyRef { // should be class B[ A ]( i: Int, val b: String ) ...
   def foo(): Int = 1


   def test(i: Int) { // should be test( i: Int )
      foo(33) // should be foo( 33 )
      if( true ) 4 else 5
      4 == 5
      for( i <- 1 to 10 ) yield i
   }
}


So the switches for if, for, infix ops, and brackets seems to work, but the method parentheses not.

best, -h.h.-

0

请先登录再写评论。