Show the scalafmt plugin can pick up the configuration from <VCS root>/.scalafmt.conf
- In IntelliJ, install scalafmt plugin
- File -> Open, select
<VCS root>/examples/
. NOTE: not<VCS root>
. - Open
WelSpec.scala
- Code -> reformat with scalafmt. Nothing should change.
- Change
maxColumn
in<VCS root>/.scalafmt.conf
from 100 to 20 - Repeat step 4, and
WelSpec.scala
's width would be changed, showing that<VCS root>/.scalafmt.conf
was respected.