Any style guide written in English is either so brief that it’s ambiguous, or so long that no one reads it. Scalafmt does its best to relieve your attention from such trivia and let you focus instead on writing correct, maintainable code. Mark the end of arguments about formatting!
In this talk, we’ll see how scalafmt works and how it’s different from its sibling Scalariform. We will also dig into how Scalafmt is implemented with scala.meta, a new metaprogramming library that leverages both the functional and OO aspects of Scala. It turns out that scala.meta's syntactic API and scalafmt are a match made in heaven.
Expect a lot of funky looking code. Don't forget to bring your strongest opinions on whitespace and indentation, it may be your last chance to express them.