Quaketastic Style (qcstyle)

Quaketastic Style

qcstyle is a free, fast, and small automatic formatter for C and QuakeC. This is a fork of Artistic Style (astyle) 1.23, with a lot of code cut out.

This was made because I couldn't find a single QuakeC code formatter, so I thought might as well make the very first one(?) after 30 years of the game existing

Usage

Bash:
# Preview changes without writing:
qcstyle < myfile.qc

# Format in place (creates a .orig backup):
qcstyle myfile.qc

# Format in place without backup:
qcstyle -n myfile.qc

You can run qcstyle --help for all options.

Formatting Styles

FlagNameDescription
-A1allmanBroken braces
-A2k&rLinux braces
-A3stroustrupLinux braces, broken closing headers
-A4whitesmithBroken, indented braces
-A5bannerAttached, indented braces
-A6gnuBroken braces, indented blocks (2 spaces)
-A7linuxLinux braces (8 spaces)
-A8quakecQuakeC style (Allman, 4 spaces)

Any bugs you find you can report on the project's GitHub repository:
https://github.com/tunalad/qcstyle
Submitted by
tvnalad
Downloads
25
Views
209
Release Date
Aug 18, 2026
First uploaded
Last update

Ratings

0.00 star(s) 0 ratings