开发者

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 &开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜