hvesalai / emacs-scala-mode

The definitive scala-mode for emacs
http://ensime.org
GNU General Public License v3.0
361 stars 68 forks source link

Indenting class parameters #68

Closed rlvoyer closed 10 years ago

rlvoyer commented 10 years ago

Is there a customization I can make to change the following default behavior:

class ClassWithLotsOfFields(
  val field1: String,
    val field2: String,
      val field3: String,
        val field4: String
)

Specifically, I would like to align those parameter declarations with the initial parameter (field1).

hvesalai commented 10 years ago

That is not how scala-mode2 does it. There is some problem with your installation. Please check that you have the correct emacs version and that you have installed the mode correctly. Also check that you don't have any other version of scala-mode installed.