Thread: XCode & braces
View Single Post
Spook

 
Spook's Avatar
 
Member Since: Sep 20, 2008
Location: Surrey, UK
Posts: 17
Spook is on a distinguished road

Spook is offline
I don't like the K&R style, i.e.:

void Foo {
int n = 0;
...
}

I prefer the BSD style, which is prevalent among all the programmers I have worked with and which I prefer (it is easier to read):

void Foo
{
int n = 0;
...
}

How can I set XCode to use the BSD style, as currently it is setup for the K&R style? I have looked through the preferences but cannot see where!
QUOTE Thanks