Groups | Blog | Home
all groups > visual studio .net general > july 2005 >

visual studio .net general : HOWTO Make VS.NET not auto insert ID attribute in HTML


Harald M. Genauck
7/29/2005 12:00:00 AM
[quoted text, click to view]

Wait for VS 2005. This 'feature' will be optional then.

Regards,
Harald M. Genauck

ABOUT Visual Basic - das Webmagazin
http://www.aboutvb.de
ATS
7/29/2005 6:25:08 AM
HOWTO Make VS.NET not auto insert ID attribute in HTML.

Please help,

I'm using VS.NET 2003 to edit HTML files, and no matter what I do in the
Tools-Options-Text Editor-HTML/XML or any other "Tools-Options-Text Editor"
feature, the editor ALWAYS adds "ID" attributes to my HTML elements, even
when I cut/copy/paste.

For example, if I want to paste the text "<table id=MyTable></table>" and
specifically keep the "id" as small case, and paste it several times, this is
what I get:

<table id=MyTable></table>
<table ID="Table1"></table>
<table ID="Table2"></table>

etc...

I do not want the editor to do this. It makes unnecessary work for me. Any
AddThis Social Bookmark Button