mdr/scalariform — Issue #35: IntelliJ support
Author: vjpr
Created: 2011-10-18 03:48:15+00:00
State: open

IntelliJ is an increasingly popular IDE for Scala. It would be fantastic to be able to synchronize IntelliJ's Scala Code Style settings so that when you `Reformat Code... (Ctrl+Alt+L)` it would replicate the settings you have configured in Scalariform.

A few approaches:

**IntelliJ External Code Formatter plugin** (last updated 2011-10-05 20:47:43)

http://plugins.intellij.net/plugin/?id=1605

**Generate IntelliJ code style and manually import**

You could have an export to IntelliJ feature that would prepare an XML code style definition to import into IntelliJ manually using `File > Import Settings...`

---

The https://github.com/typesafehub/sbt-scalariform SBT plugin works really well at the moment so I'm not sure if this support would be that useful.