Alvaro Herrera <alvhe...@2ndquadrant.com> writes: > On 2018-Jun-05, David Fetter wrote: >> Is there any interest in such a feature?
> I'd rather have the editor warn me (highlight) such things rather than > fix them silently (I wonder if it'd cause a mess with regression .out > files for example, which I do edit on occasion). Yeah, agreed. FWIW, I'm not that fussed about this for .h/.c files, since pgindent will fix it sooner or later (or even right away, if the committer is anal enough to pgindent before committing, as some of us are). It's a bit more of a problem for other file types. I note that Peter E. seems to have a recipe for finding such issues, which I suspect is grounded in some obscure git feature or other. That might be easier to work with, since you'd only need one fix not one per editor. regards, tom lane