XCode > Preferences > Indentation > Tabs
However, typing a tab does not seem to result in 4 spaces. If I open a *.cpp or *.h file with an internet browser, what appeared nicely aligned in XCode, is now displayed with ragged indentation. So I have to go back to editing the file and replace each tab with 4 spaces... Not convenient.
Is there an easier fix?
MacBook5,1, Mac OS X (10.6.1)