SPFormat
SourcePawn formatter written in Rust
Install / Use
/learn @Sarrus1/SPFormatREADME
<div align="center">
<h1><code>SPFormat</code></h1>
<p>
<strong>Opinionated SourcePawn code formatter, for the new and the old syntax, written in Rust.
</strong>
</p>
<p style="margin-bottom: 0.5ex;">
<a href="https://github.com/Sarrus1/SPFormat/actions/workflows/release.yml"><img
src="https://github.com/Sarrus1/SPFormat/actions/workflows/release.yml/badge.svg"
/>
</a>
</p>
</div>
Try the playground!
CLI tool
- Download the latest release for your platform.
- (OPTIONAL) Add the executable to your PATH Windows Linux/OSX.
- Run in your console
sp_format.exe -hfor a list of commands.
Note You can also drag and drop the file you want to format over the executable's icon.
