Game Development Community

GG's indent standards?

by Daniel Rollings · in Torque Game Engine · 08/11/2001 (11:14 am) · 3 replies

I must say that I'm pleased with the cleanliness of the code. For consistency with GarageGame's standards should I submit patches, I'd like to know if you all have been using a standard formatting utility, such as GNU indent.

#1
08/11/2001 (11:48 am)
Basically the only standard is (that I'm aware of) is that there are only three spaces for a tab. Just hit the space bar three times :-).
#2
08/11/2001 (5:13 pm)
You can also change the TAB behaviour in Visual Studio 5/6.

Goto Tools->Options->Tabs and change what you need there (Tabs filled with spaces etc).
#3
08/12/2001 (5:05 pm)
Don't expect ":set ts=3" in vi to work exactly right (you know who you are) if you ever touch < or > ;)