Visual Studio 2005 IDE formatting

  • Thread starter Thread starter Mark.Nijhof
  • Start date Start date
M

Mark.Nijhof

Hello,

I am using Vistual Studio 2005 b now I like to code using tab to align
the = symbols:

if (condition)
{
var1 = "value";
variable1 = "values 123";
thisvariable1 = "val";
}

now every time the IDE applies the formatting it replaces it by

if (condition)
{
var1 = "value";
variable1 = "values 123";
thisvariable1 = "val";
}

I would really like to find the option to turn this of? I have been
looking into the options menu but can't find the specific option that
says use single space behind variables or objects.

-Mark
 
I just saw that when looking at the messge direclty on the website
http://www.dotnetnewsgroups.com/ all formatting of my example code has
ben removed aswel :) (I should have know with the nature of HTML)
Anyway I do use Tab intend and all the other formatting, if there has
been a misunderstanding, I hope the below example clearafies it better.


if (condition)
{
[ Tab ]var1[ Tab ][ Tab ][ Tab ]=[ Tab ]"value";
[ Tab ]variable1[ Tab ][ Tab ]=[ Tab ]"values 123";
[ Tab ]thisvariable1[ Tab ]=[ Tab ]"val";
}

becomes

if (condition)
{
[ Tab ]var1[ Space ]=[ Space ]"value";
[ Tab ]variable1[ Space ]=[ Space ]"values 123";
[ Tab ]thisvariable1[ Space ]=[ Space ]"val";
}
 
Back
Top