Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Suggested changes to default Configuration of Code::Blocks
killerbot:
I completely agree with Thomas.
Use TAB by default.
As Thomas explains, we want to indent, and therefor the tab is the tool number 1 ;-)
rcoll:
--- Quote from: killerbot on February 25, 2010, 12:30:54 pm ---I completely agree with Thomas.
Use TAB by default.
As Thomas explains, we want to indent, and therefor the tab is the tool number 1 ;-)
--- End quote ---
I agree in principle, but not in practice. Tabs were originally meant to be a horizontal stop on a TTY machine, and don't really have an analog on a CRT. Since (in a fixed-width font) a tab is normally the same as 8 spaces, indenting your code more than 3 or 4 levels will make some lines run off the right-hand edge of the screen. If you are like me, then you want to see as much of your code as you can in one glance, without constantly scrolling right and left.
However, since it is all a matter of personal preference, and has no real effect on compiling the code, any default is fine; the user only needs to change the setting once and it "sticks" for all sessions.
Ringo
MortenMacFly:
--- Quote from: thomas on February 25, 2010, 11:22:55 am ---But well, I guess it depends on what you do and what/who you have to work with.
--- End quote ---
Exactly. And if in one project everybody has a different interpretation for a tab and there is no consistent style it drives you (me) mad to over and over adjust the "meaning" of a tab in terms of spaces. So - for me spaces will be the default. As it is an option I can set it. The default value shall be what most people want. No problem with me.
ollydbg:
--- Quote from: stahta01 on February 23, 2010, 07:52:49 pm ---Suggested changes to default Configuration of Code::Blocks
Have full compiler logging turned on by default.
Tim S.
--- End quote ---
+1
Pecan:
--- Quote from: ollydbg on March 05, 2010, 09:51:40 am ---
--- Quote from: stahta01 on February 23, 2010, 07:52:49 pm ---Suggested changes to default Configuration of Code::Blocks
Have full compiler logging turned on by default.
Tim S.
--- End quote ---
+1
--- End quote ---
I fully agree.
Navigation
[0] Message Index
[*] Previous page
Go to full version