On IntelliJ 9.0.2 with the latest Scala plugin, the problem is that the code formatter turns this:
object Test
{
def main (args: Array[String])
{
if (...)
{
...
}
}
}
into this:
object Test
{
def main (args: Array[String])
{
if (...)
{
...
}
}
}
i.e. it's indenting the blocks, and I've done my best to tell it not to in the preferences.
It's a small thing, but is slowing driving me batty :/