I don't have a general opinion - alphabetical sorting makes it easier to find a method when just reading a file, but following Sun's sorting makes it easier to compare a method to Sun's documentation of how it should behave. Either choice is fine with me, especially since emacs has wrap-around searching. But if Jalopy can make the decision easier, by enforcing a sorting style, it might be worth considering.
Mark Wielaard wrote:
Hi,
On Fri, 2003-11-21 at 23:06, Raif S. Naffah wrote:
jalopy is able to handle grouping, and sorting, of class elements (e.g.static field and initialisers, instance fields, constructors, etc...) and separating them with a 1-line separator (2 with a blank line followup).
how (strongly) do people feel about enabling this?
I don't like that very much. I like it when methods are grouped logically (same kind of methods) together. Although simply adding all constructors, static fields and field members together is probably OK.
Cheers,
Mark
-- Someday, I might put a cute statement here.
Eric Blake [EMAIL PROTECTED]
_______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath