Just to say GNU indent 2.2.7 compiles with only 4 warnings under BeOS and works nicely indent -kr -i 8 roxor :) (maybe you'd like better -i 4) The only drawback is it's only for C (that's a Good(tm) enough reason to throw C++ out of the kernel :))) En réponse à arougthopher <beos@xxxxxxxxxxxxxx>: > There is a tool that might be helpful here, and it may not. > > It's called AStyle (artistic style) http://astyle.sourceforge.net > > This won't do everything for you (naming conventions for one), but, it > > will do the indenting, so it is consistent (not a mixture of spaces and > > tabs). > Also, we could, as a group, distribute a ".astylerc" file, so that > everyone would be formatting the exact same way :) > > Just a thought. I use it on some of the old mozilla code, that has been > > editted by numerous people, so, some things are indented by tabs, some > > by spaces, and, if tab widths are different in my eidtor than someone > elses, then, nothing lines up, which is annoying. Anyway, it may be > worth looking into as a recommendation. > > btw, it builds without modification (or at least the version I have > did) > > -paul > > >