ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Code formatting

From: "Steve Schaeffer" <schasj@xxxxxxxxxxxx>
Date: Tue, 20 Feb 2007 18:44:57 -0700
I've noticed some inconsistency in the formatting in Wireshark c/h files and I'm wondering if using a formatting utility has been considered. *nix systems have "indent" and "Artistic Style" (http://astyle.sourceforge.net/) is available for Linux, MacOS, and Windows. It wouldn't be hard to automate its use, if desired, and posting the options file (.indent.pro or .astylerc) in a conspicuous place would allow anyone to use whatever format you prefer. Just a thought...

HTH