Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MoonKid on June 30, 2008, 06:09:32 pm

Title: smart tap settings?
Post by: MoonKid on June 30, 2008, 06:09:32 pm
The good old topic...
What are good settings for the tabs?
tab-character or spaces as tabs? How many spaces? etc?
Title: Re: smart tap settings?
Post by: MortenMacFly on June 30, 2008, 08:17:49 pm
The good old topic...
What are good settings for the tabs?
tab-character or spaces as tabs? How many spaces? etc?
This depends on the project you are working on. Mostly you have coding  rules that also define what to use. I am working on several projects where nearly all have different rules (which makes me believe this setting probably belongs to the project settings and not general settings - but luckily C::B support several profiles ;-)).

My personal opinion: I hate tabs - they are just useless and prefer not too much spaces so I choose "no tabs, 2 spaces". But that's my opinion. For C::B we chose 4 spaces with tabs and/or spaces. You see... ;-)
Title: Re: smart tap settings?
Post by: dje on June 30, 2008, 09:20:28 pm
That's THE reason why I chose this project, 4 spaces with tabs  :D

Dje