4lex1v
4lex1v

Reputation: 21567

Intellij Scala multiple import style formatting settings

We have a convention to write

import akka.actor.{ Actor, Props }

instead of

import akk.actor.{Actor, Props}

like Intellij formatting function is doing now. But i didn't find such an option in code style settings, are there any ways to change this bahaviour?

Upvotes: 10

Views: 1294

Answers (2)

Sudheer Aedama
Sudheer Aedama

Reputation: 2144

Preferences > Code style > Scala > Spaces > ☑ Import braces

Upvotes: 4

Alefas
Alefas

Reputation: 3094

I just created an issue for this, I hope it will be implemented soon, it's simple: http://youtrack.jetbrains.com/issue/SCL-5471

Upvotes: 6

Related Questions