News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

smart tap settings?

Started by MoonKid, June 30, 2008, 06:09:32 PM

Previous topic - Next topic

MoonKid

The good old topic...
What are good settings for the tabs?
tab-character or spaces as tabs? How many spaces? etc?

MortenMacFly

Quote from: 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?
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... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

dje

That's THE reason why I chose this project, 4 spaces with tabs  :D

Dje