Wednesday, 10 February 2016

ScalaStyle for Play and Scala Based Applications

Scalastyle is an open source style checker used for Play and Scala based applications. 

Like Checkstyle tool is used for Java-based applications, we can use Scalastyle for Scala-based applications.

Scalastyle observes our Play/Scala project code and indicates potential problems with it. 

It is available for the following three Build tools:

  • SBT
  • Maven
  • Gradle
It is available for the following IDEs as plugins:
  • IntelliJ IDEA
  • Eclipse IDE

How to configure Scalastyle in a Play/Scala based applications?

We can create an XML file under our project root folder and that file name should be:


In this file, we need to configure all our configurations regarding our projects within the root elements:


That's it about some basics of Scalastyle. Will try to deliver one more post with some specific Play/Scala applications.

Thank your for reading my posts.

Please drop me your valuable comments or suggestions.

No comments:

Post a Comment