Setting Tab Width?

Topics for the Eclipse Environment
Post Reply
joepasquariello
Posts: 85
Joined: Mon Apr 28, 2008 7:32 am

Setting Tab Width?

Post by joepasquariello »

Has anyone successfully changed NBEclipse editor tab width to something other than 4? I found the setting in Windows->Preferences->Editor->Text Editor, and changed it to 8, but the editor keeps using 4. All of the other settings I've changed (show line numbers, etc.) have worked correctly, but for some reason this one does not.

Thanks,

Joe
joepasquariello
Posts: 85
Joined: Mon Apr 28, 2008 7:32 am

Re: Setting Tab Width?

Post by joepasquariello »

Answering my own question...

- Go to Windows -> Preferences -> C/C++ -> Code Style.
- Press "New", choose a starting profile, and give the new profile a name.
- Make desired changes from default, including tab width, press Apply, and OK.

Joe
Post Reply