Initiate soft reload of scalastyle_config.xml in IntelliJ

450 Views Asked by At

IntelliJ's Scala plugin comes with support for Scalastyle and provides this guidance:

Scalastyle examines your Scala code and indicates potential problems with it.

Place scalastyle_config.xml in the root/.idea or root/project directory.

However, when I make changes to my local scalastyle_config.xml file IntelliJ does not automatically detect the changes and apply them to the code I am editing.

I have found that if I close and re-open my IntelliJ project it will indeed reload this file and apply the rules to my code but this is a very heavy-handed and lengthy approach.

How do you initiate an IntelliJ reload of scalastyle_config.xml when the file has changed?

0

There are 0 best solutions below