[KLUG Programming] default indentation and preferences/standards
Dirk Hamsun Bartley
bartleyd2 at chartermi.net
Sat Jun 5 15:47:14 EDT 2004
Hello
Can someone let me in on their personal preferences or group standards
they have seen when collaborating on what standards they use when
committing code into a repository. When indenting do you use: all tabs,
all spaces, or some combination.
I'm considering doing something a little automated. Like the
possibility of putting 'indent' commands in my make file so that if a
file compiles run the indent program on the source. Seems a little
brute force but I find I'm inconsistent in my typing practices.
I've been experimenting and I tend to use all tabs which would mean that
the indent options that would mimic my typing behavior would be
indent -i2 -ts2 -br
Then in my .vimrc file I have set ts=2.
Just Curios
Dirk
More information about the Programming
mailing list