Is there a way to reduce the default tab indentation for code posted on this board?
Code that looks fine in msvc's editor gets HUGE here because the tab spacing is being doubled from 4 spaces to 8.
Is there a way to reduce the default tab indentation for code posted on this board?
Code that looks fine in msvc's editor gets HUGE here because the tab spacing is being doubled from 4 spaces to 8.
8 spaces is a standard tab. (as far as i know)Originally posted by R.Stiltskin
Code that looks fine in msvc's editor gets HUGE here because the tab spacing is being doubled from 4 spaces to 8.
Safest way is to not use tabs in your source, instead use spaces. I have my editor configured to output 4 spaces when I hit the tab key. That way, your code will look good no matter what
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
I like just using 2 spaces to indent. You don't need to use the tab key or deal with any problems with that in general and it's not a hassel to hit the space bar twice.
My tab size is 3. Using spaces is a hassle because when indenting, shift-tab, tab doesn't work for spaces
my tab is equivalent to three spaces, but is a tab character... i didn't know you could change that option... i'll be looking for that later...
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
In MS Visual Studio, go to Tools...Options...Tabs. Set it up however you like from there.
p.s. What the alphabet would look like without q and r.