Setting up editors for the GNU/GCC coding style?
Richard Earnshaw
Richard.Earnshaw@foss.arm.com
Fri Jul 29 12:34:45 GMT 2022
On 28/07/2022 22:43, Iannetta Paul wrote:
> About configuring recent editors to follow the GNU coding style, I don't
> really know but it should always be possible to register a hook that
> will run `indent` when the file is saved.
I don't think that's a good idea. It will result in quite a lot of
minor changes that will just make diffs confused. We do have a style,
but not everything is exactly as GNU indent would lay it out (plus GNU
indent says quite clearly that it can't handle C++).
R.
More information about the Gcc
mailing list