Coffeehouse Post

Single Post Permalink

View Thread: I'm going back to VS2008
  • User profile image
    W3bbo

    Ion Todirel said:
    W3bbo said:
    *snip*

    I cannot see the indenting issue you mention. Are you sure you don't have None under Tools - Options - Text Editor - C# - Tabs - Indenting?

    See this screenshot:

     

    Generic Forum Image

     

    As you can see, lines that don't contain anything don't have any tabs characters in them. VS2003, 5, and 8 all indented new lines as you pressed the Return key, VS2010 doesn't: it only indents the line once you type something on that line. If you press Return again you get \r\n\r\n rather than \r\n\t\t\t\r\n.

     

    When typing code this isn't a huge problem for me because the caret is magically in the right place 90% of the time, but when I move the caret around with my arrow keys it often ends up in Column 1 when it should be in Column 3 (see screenshot, line 98) where it would be if empty lines were indented.