[vtk-developers] Indentation style and converting to Doxygen style docs

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Jul 1 11:59:57 EDT 2016


Maybe a little off topic, but has anyone looked at "Artistic Style" (
http://astyle.sourceforge.net/astyle.html).

Seems like a project especially designed for changing formatting.

Utkarsh

On Fri, Jul 1, 2016 at 9:49 AM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> Once the files are changed, I suggest that a KWStyle expert
> https://kitware.github.io/KWStyle/ take a stab at creating a VTK style
> file. That way we can enforce the style in the future. We use it in
> ITK and it is very effective, although it can take some effort to
> correct all of the existing defects.
>
>
> On Fri, Jul 1, 2016 at 9:23 AM, Ben Boeckel <ben.boeckel at kitware.com>
> wrote:
> > On Thu, Jun 30, 2016 at 17:09:18 -0600, David Gobbi wrote:
> >> The scripts just modify the VTK source files. They don't call any git
> >> commands so I don't think they can, by themselves, be idempotent.  Do
> you
> >> have any insights into what we can do to avoid conflicts?
> >
> > A function f is idempotent iff f(f(x)) == f(x). If the formatter is
> > idempotent, it can be safely run over any branch during a rebase to make
> > it not add any style violations.
> >
> > --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
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> 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/20160701/7ff6fad7/attachment.html>


More information about the vtk-developers mailing list