Is there a way to disable auto-formatting

  • Thread starter Thread starter John Holmes
  • Start date Start date
J

John Holmes

I saw a similar post that went unanswered about a month ago. I am annoyed by
the auto-formatting that occurs when creating my form. I'll make changes to
the code (HTML tab) and then view them in Design mode and when I go back to
the HTML mode the code I just typed in has been reformatted. It doesn't
always do it the same either. I usually don't capitalize tag names and it
will auto-capitalize the ending tags sometimes. I've gone through options
and unchecked everything and under HTML/XML-Format everything is unchecked
and Capitalization for Tags and Attributes are set to 'as entered'.

Any help would be appreciated.

John
 
No, you'll have to wait for .NET 2.0 (codenamed Whidbey) that is scheduled
to be released next year.
Until then we must live with the HTML auto reformatting "feature."
 
Thanks for Steve's clarify on this.

Hi John,

As Steve has mentioned, the problem that VS.NET will auto-formatting the
html source when switching between design-view and html-view is a known
issue of the VS.NET's current version and which hasn't been
fixed now. But this issue is to be fixed in the next version of the VS.NET
(Whidbey):
#Preview of Web Development with Visual Studio Whidbey-----Better Source
Code Editing
http://msdn.microsoft.com/library/en-us/dnaspp/html/webdevinwhidbey.asp?fram
e=true#webdevinwhidbey_topic1

Also, since this issue still remain in the current versions, I apologize
for any inconvenience it brings you.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Back
Top