Skip to content

Sarrus1/SPFormat

Repository files navigation

SPFormat

Opinionated SourcePawn code formatter, for the new and the old syntax, written in Rust.

Try the playground!

CLI tool

  1. Download the latest release for your platform.
  2. (OPTIONAL) Add the executable to your PATH Windows Linux/OSX.
  3. Run in your console sp_format.exe -h for a list of commands.

Note You can also drag and drop the file you want to format over the executable's icon.