Steve Franks wrote:
>> I am one of two main active developers of Kicad.  For that project I put
>> in a standard configuration file for the very fine beautifier called
>> "uncrustify".  So basically uncrustify settles the issue for us over
>> there.  That is C++ and it is setup for spaces, but uncrustify will
>> handle both, depending on the configuration file.
>>     
>
> Pleased to meet you.  I've been meaning to kick myself into playing
> with Kicad for a long while.
>
> As far as the tabs/spaces issue, have you looked at the unix utility
> "astyle"?  I believe that's one of it's purposes.  Also, might specify
> a coding style that astyle supports, then one can just kick things
> thru astyle, and voila, uniformity!
>
> Steve
>   

Yes Steve, I looked at it about 1.5 years ago.  Uncrustfy was more 
useable at the time, better documented and better supported.  The 
developer was willing to add improvements as they were requested.

Python does not need a beautifier.  In fact, the indentation sets the 
logical blocks, not brackets.   So all python programs will use similar 
presentation style.
This is one of its strong personality traits.

I don't remember if uncrustify handles straight C code.   I know it 
handles C++ quite well, and I think Java.

Dick



_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to