[haiku-development] Re: Coding Guidelines checker update

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 8 Jul 2010 14:29:44 -0400

Has there been any attempt to create use GNU indent to automatically format
the code to the guidelines? I know that GNU indent has a lot of options but
tends to produce pretty strange looking code most of the time.

On Fri, Jul 9, 2010 at 10:38 AM, Adrien Destugues <
pulkomandy@xxxxxxxxxxxxxxxxx> wrote:

>
> > Cool, BTW i don't know how/if it works on your side (is %>80v a vim
> > thing?), but IIRC (i haven't tried checkstyle.py for a long time) my
> > "80
> > chars" rule counts tabs as one char.
>
> Yes, vim knows about tab size and this rule checks for the line length
> accounting for it.
> It was borrowed from there :
> http://vim.wikia.com/wiki/Highlight_long_lines
>
> --
> Adrien
>
>

Other related posts: