[torquedev] Re: Coding style

Joshua Butikofer josh at clusterresources.com
Mon Feb 18 12:30:46 MST 2008


Until you guys figure out what the official coding style will be, here are the VIM settings for the
current CRI coding style:

" Allow tabs to be two spaces (and also shift-width)
set ts=2
set expandtab
set sw=2

" Setup the actual indent rules
set cindent
set cino=f1s{1s

--Josh B.

Matti Bickel wrote:
> Garrick Staples <garrick at usc.edu> wrote:
>> I certainly noticed that your code wasn't following "the style", but then, I
>> wasn't going to nitpick this incredible contribution.
> 
> While i appreciate the "incredible", i do welcome nitpicking before my
> code actually gets merged to trunk, so that others, who are more
> familiar with "the style", can contribute more easily.
> 
> Well, if someone could post a vim settings line they use for editing
> torque code, that'd be much appreciated. Currently i have to rely on
> manually setting indent and co on each file, which gets kinda
> frustrating.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev



More information about the torquedev mailing list