Graeme Geldenhuys wrote 9 lines
Hi,
Sven was kind enough to share the following link:
https://wiki.freepascal.org/Coding_style
From memory, I recall FPC includes a code formatter (can't remember the
name). Does the FPC project also include a syntax rules file, so it can
automatically reformat code I would like to contribute? 🤞 It's whole new
units, not just small line changes.
it's called jcf, you can find a command-line version in the lazarus repo.
in components/jcf/commandline or somesuch.
Since it's fair to say that I manage most of FCL, I can empathically state the following:
This WIKI document is not correct, the part about FCL is just plain wrong. I don't know who authored this document, but he clearly never looked at FCL code or RTL code.
For the compiler it is the correct style. For the rest: >> /dev/null
Michael.