I've searching and searching and I'm very frustrated with VS 2005, every time I turn around it starts trying to auto format my code.
Code that used to look like..
sub blah(by val test,....)
dim somevar as int
some more code
and more
end sub
now gets formated, with no easily found way to fix it..half way across the screen with like 10 tabs on everything..it will not go away, and I'm close to removing the IDE from the system and going back to hand coding. I delete the formate and as soon as I move to the next line it puts it back, then if I make a change to the lines precedding or following it moves all that code as well...
Help please. I have very little hair left and I'm tired of pulling it out.

Visual Studio 2005 Auto code formating
hr0nix
I had this same problem. It haunted me for years. I finally found this post and, indeed, this fixes the problem. The options are very poorly laid out in VS 2005. The "General" tab contains these same settings. Disabling them there leads one to believe that it's disabled overall. Instead, the user must click on "Show all settings" and then drill down to the "Basic" tab where these options are essentially duplicated.
One correction on your post: "Text Editor" does not exist beneath "Environment". Instead, it is at Tools/Options/Text Editor/Basic/Tabs.
prasindo