开发者

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

开发者 https://www.devze.com 2023-01-25 00:11 出处:网络
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 &开发者_Py

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 &开发者_Python百科lt;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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消