[Insight-users] [Bar Camp] KWStyle with ITK

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Oct 4 07:32:49 EDT 2012


Hello Ariel,

I am aware that you can configure VIM and emacs for ITK style [1], but I don't know about eclipse.


However, there is the uncrustify program which performs a variety of code beautifications to the code. When doing ITK development you can configure the git hooks to automatically perform uncrusify, or you could manually run it on a file, or you may be able to bind a short cut in you editor to perform the action. 

This file [2], should be configured by cmake and placed into your build directory which should be a good starting ground to running uncrustify.

Brad

[1]  http://www.itk.org/Wiki/ITK/FAQ#How_do_I_configure_VIM_for_ITK_coding_style.3F

[2] https://github.com/Kitware/ITK/blob/master/Utilities/Maintenance/doSingleKWStyleUncrustifyFix.sh.in



But I 


On Oct 4, 2012, at 4:03 AM, Ariel Hernán Curiale <curiale at gmail.com> wrote:

> Hi Matt or anyone,
> 
> Do you know if exist any plugin to automatically indentation and check KWStyle for eclipse before the compilation ?
> Is there one for vim ?
> 
> 
> Regards,
> __________________________________
> | Ariel Hernán Curiale Ph.D Student
> | ETSI Telecomunicación
> | Universidad de Valladolid
> | Campus Miguel Delibes
> | 47011 Valladolid, Spain
> | Phone: 983-423000 ext. 5590
> | Web: www.curiale.com.ar
> |_________________________________
> 
> El 03/10/2012, a las 22:49, Matt McCormick escribió:
> 
>> Archive:
>> 
>> http://insightsoftwareconsortium.github.com/ITKBarCamp-doc/CommunitySoftwareProcess/StyleCheckITKWithKWStyle/index.html
>> 
>> On Wed, Oct 3, 2012 at 6:07 PM, Matt McCormick
>> <matt.mccormick at kitware.com> wrote:
>>> Starting here:
>>> 
>>> https://plus.google.com/hangouts/_/7a88848200f051a2cf5082ae3b6c9d828cfdf79f?authuser=0&eid=106512397331641956186&hl=en
>>> 
>>> 
>>> On Wed, Oct 3, 2012 at 3:39 AM, Matt McCormick
>>> <matt.mccormick at kitware.com> wrote:
>>>> Upcoming bar camp session - 2012 Oct 3 14:00 EDT.  KWStyle with ITK.
>>>> 
>>>> Please join use to review how to use KWStyle to check coding style
>>>> compliance in ITK.
>>>> 
>>>> To join the Google+ hangout, follow ITKBarCamp with your Google+
>>>> account.  You will receive a notification when the hangout starts.
>>>> 
>>>>  https://plus.google.com/u/2/b/106512397331641956186/106512397331641956186/posts
>>>> 
>>>> 
>>>> Hope to see you there,
>>>> Matt
>> _____________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> 
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>> 
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121004/8e19e276/attachment.htm>


More information about the Insight-users mailing list