Hi Mateusz, > Please, let's forget about astyle.
Because you consider it more limited feature-wise than clang-format ? (https://trac.osgeo.org/geos/wiki/RFC4 : "wrapping long lines whether of code, strings, arrays - something which AStyle has no way of doing") I'm wondering what you mean by "No automation of code reformatting is proposed. It would be treating the symptomps, no cause: developers not following the code formatting standard. " I'd really want a script to fix edited files and fix them. From a quick look, it isn't obvious that my favorite text editor (kate) could ingest a .clang-format file to enforce the style when I'm editing. And honestly I don't even want to learn the rules of the style we would apply. We *need* something to fix it easily like scripts/prepare-commit[.sh/.py] that will check svn/git edited files and run them through the reformatter. Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev