You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sources are automatically formatted on compile and test:compile by default.
To enable Scalariform for integration tests in addition to compile and test:compile add to the build:
scalariformItSettings
Other useful configuration options are provided by sbt setting keys:
includeFilter in scalariformFormat: Defaults to *.scala
excludeFilter in scalariformFormat: Using the default of sbt
Configuration (filesystem)
Copy default Scalariform preferences
and create a preferences file globally in ~/.scalariform.conf, or locally in projectRoot/.scalariform.conf.
Modify preferences accordingly.
Note: It is not recommended to mix build and filesystem level preferences. If for some reason this is required,
to override, for example, global filesystem preferences, create an empty .scalariform.conf file in the project root
and define build level preferences accordingly.
Disable Autoformatting / Enable Formatting of Base Directory Sources
Custom configuration options can be applied in the build, or in a .scalariform.conf preferences file.