[vtk-developers] PROPOSAL: Changing VTK's indentation style

Bill Lorensen bill.lorensen at gmail.com
Thu Sep 10 21:26:08 EDT 2015


I changed my emacs to detect whether I'm editing a VTK or itk file and
select the proper style.
On Sep 10, 2015 9:17 PM, "Ben Boeckel" <ben.boeckel at kitware.com> wrote:

> On Fri, Sep 11, 2015 at 10:13:37 +1000, Andrew Maclean wrote:
> > 2) git blame needs to be able to cope with the changes.
>
> git blame can be told to ignore whitespace-only changes to a line (-w).
>
> > 3) The git hooks need changing.
>
> In what way? We've never enforced brace-style using hooks. Or at least
> we don't now.
>
> > 4) All the existing code needs to be retroformatted. Presumably you will
> > write a script to do this. It would be a good idea to add this script
> > (python?) to Utilities so that the Slicer people and others can easily
> > reformat their code if so desired.
>
> Yeah, committing the tool would be good.
>
> --Ben
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150910/7725822f/attachment.html>


More information about the vtk-developers mailing list