Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 4189] Wireshark code indenting

Date: Mon, 2 Nov 2009 23:09:27 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4189





--- Comment #6 from Jaap Keuter <jaap.keuter@xxxxxxxxx>  2009-11-02 23:09:25 PDT ---
... and let the wars begin! 
Please people, there have been too many brain cycles wasted on this already in
the past, present and future (Yes, I am clairvoyant).
As the README.developer states in 1.1.5: 

"When creating a new file, you are free to choose an indentation logic.
Most of the files in Wireshark tend to use 2-space or 4-space
indentation. You are encouraged to write a short comment on the
indentation logic at the beginning of this new file, especially if
you're using non-mod-8 tabs."

and 

"When editing an existing file, try following the existing indentation
logic and even if it very tempting, never ever use a restyler/reindenter
utility on an existing file.  If you run across wildly varying
indentation styles within the same file, it might be helpful to send a
note to wireshark-dev for guidance."

The Wireshark website even provides online help:
http://ipv6.wireshark.org/tools/modelines.html

So, can we agree to disagree on this?


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.