Slashdot Mirror


Visual Studio 2010 Forces Tab Indenting

An anonymous reader writes "For years, Microsoft has allowed Visual Studio users to define arbitrary tab widths, often to the dismay of those viewing the resultant code in other editors. With VS 2010, it appears that they have taken the next step of forcing tab width to be the same as the indent size in code. Two-space tabs anyone?"

10 of 390 comments (clear)

  1. Tabs vs. Spaces by dziman · · Score: 5, Funny

    FIGHT!

    1. Re:Tabs vs. Spaces by osu-neko · · Score: 2, Funny

      Well, sure, if you're going to count raw numbers. There's like four or even eight spaces for every tab. :p

      --
      "Convictions are more dangerous enemies of truth than lies."
  2. Re:Best argument for using spaces by Sehnsucht · · Score: 2, Funny

    Anything else will always get screwed up by someone or some tool.

    Why are you repeating yourself?

  3. Re:Why put tabs in code anyway? by Dan+East · · Score: 2, Funny

    Tabs can be represented by as many "virtual" space characters in the editor as desired by the programmer, allowing them to work with the amount of indentation they prefer without forcing that representation as spaces in the sources. Plus it saves a lot of bytes for those that still save their source code on floppies.

    --
    Better known as 318230.
  4. Anyone, anyone? by Blakey+Rat · · Score: 5, Funny

    Ending sentence fragments with anyone, anyone? Does anyone like this convention, anyone? Can we just see it die horribly in flames, anyone?

  5. Re:Visual Python by broken_chaos · · Score: 4, Funny

    import psychic

    You can then retrieve the exact number of tabs the last editor to that block/line of code had in mind when they wrote it. This does add a bit of overhead, mind you, such as needing a pint of goat's blood every time you run the program.

  6. Re:Why put tabs in code anyway? by Bill+Dog · · Score: 3, Funny

    You mean you can't see the brilliance of a preview mode that doesn't match what the real thing will look like? ;)

    --
    Attention zealots and haters: 00100 00100
  7. Oh cry me a river by overnight_failure · · Score: 3, Funny

    I know this is Slashdot an' all but really? You've got to the point where you have to bitch about tabs settings in MS's development environment. Have MS not been squishing enough small companies or something equally evvvvvvil for you lately? Quick everyone, another example of MS being a horrible overlord, they've combined tabs and indent in Visual Studio!

    *sigh*

  8. Re:Let's sound like morons, anyone? by fedxone-v86 · · Score: 2, Funny

    This!

    --
    (USER WAS PUT ON PROBATION FOR THIS POST)
  9. Re:Why put tabs in code anyway? by delinear · · Score: 2, Funny

    Three shall be the number thou shalt indent, and the number of the indenting shall be three. Four shalt thou not indent, neither indent thou two, excepting that thou then proceedest on to three. Five is right out.

    FTFY