-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

scalafmt


> Code formatter for Scala.

> Configurations are stored in the `.scalafmt.conf` file.

More information.


Reformat all `.scala` files in the current directory recursively:

scalafmt

Reformat specific files or directories with a custom formatting configuration:

scalafmt --config {path/to/.scalafmt.conf} {path/to/file_or_directory} {path/to/file_or_directory} {...}

Check if files are correctly formatted, returning `0` if all files respect the formatting style:

scalafmt --config {path/to/.scalafmt.conf} --test

Exclude files or directories:

scalafmt --exclude {path/to/file_or_directory} {...}

Format only files that were edited against the current Git branch:

scalafmt --config {path/to/.scalafmt.conf} --mode diff


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 08:27:49 2024