scalafmt
Verified for current stable LTS
Scalafmt Commands
Scalafmt command syntax with verified terminal examples.
Commands
5 commands for Scalafmt
scalafmt Operations
Scalafmt Command: Check Formatting Correctness
scalafmt --config <path/to/.scalafmt.conf> --test scalafmt Operations
Scalafmt Command: Exclude Files Or Directories From Formatting
scalafmt --exclude <path/to/file_or_directory1 path/to/file_or_directory2 ...> scalafmt Operations
Scalafmt Command: Format Edited Files Against Git Branch
scalafmt --config <path/to/.scalafmt.conf> --mode diff scalafmt Operations
Scalafmt Command: Reformat All Scala Files Current Directory
scalafmt scalafmt Operations
Scalafmt Command: Reformat Specific Files With Custom Config
scalafmt --config <path/to/.scalafmt.conf> <path/to/file_or_directory1 path/to/file_or_directory2 ...> Suggest a Scalafmt Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Scalafmt workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.