3 ms·
Do any of you know if there is an equivalent of gofmt for scala, e.g scalafmt? If such a thing existed some portion of this long list of sensible conventions w
by jaytaylor 12y ago
Do any of you know if there is an equivalent of gofmt for scala, e.g scalafmt?
If such a thing existed some portion of this long list of sensible conventions wouldn't have to be memorized and/or constantly referenced and manually enforced.
Such a tool would empower scala programmers to focus more on that that which is most important- the functionality and logic, rather than manually applied aesthetics.
- saryant 12y agoHere's a talk cataloging them: http://confreaks.tv/videos/pnws2014-towards-a-safer-scala http://confreaks.tv/videos/pnws2014-towards-a-safer-scala
- sirseal 12y agoYup! It's called scalariform. I use it 24/7 as an sbt plugin: https://github.com/sbt/sbt-scalariform https://github.com/sbt/sbt-scalariform