Darcy
Darcy

Reputation: 5368

Way to override the way html tags are generated by Visual Studio 2010

Is it possible to override particular tag generations with VS2010?

Right now when you type <table>, VS will create the matching </table> tag to close the statement. When I type <table>, I'd like VS to generate <tr><td></td></tr></table>.

I'm pretty sure I could do this with a Macro, but it would be nice to be able to type normally and have this generated.

Upvotes: 0

Views: 57

Answers (1)

Gabe
Gabe

Reputation: 50473

You could create a code snippet and then toggle that...

http://blogs.msdn.com/b/zainnab/archive/2010/02/16/html-code-snippets-vstipedit0018.aspx

Upvotes: 1

Related Questions