[haiku-development] Re: [haiku-development]

  • From: Fredrik Modéen <fredrik@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 24 Oct 2007 09:30:11 +0200 (CEST)

> 2007/10/23, Ryan Leavengood <leavengood@xxxxxxxxx>:
>> I REALLY think we need to provide a tool to check code against our
>> guidelines. I need to do some research, but I'm sure there are tools
>> for C++ to do this.
>
> Some time ago, I tried http://astyle.sourceforge.net/  In the end, I
> had to dive in the code of the tool to have it behave nearer our
> style.
>
> Not an easy task in my opinion. You could also simply check for common
> style errors, ie if(){
Probably what I missed in my patch and didn't see that part in the
guidelines.
perhaps this could be built in to Pe so when you make your { and then } it
changes so the if statement follows Haiku guidelines.

>
> Bye,
> Jérôme
>
>


-- 
MVH
Fredrik Modéen


Other related posts: