Where is ‘Surround With’ for HTML?

Visual Studio feature request o’ the day: ‘Surround With’ in the HTML editor (highlight some HTML, hit Ctrl-K, Ctrl-S, type an HTML tag like ‘div’, press enter). Anyone know if this exists or not? How difficult would it be to write a VS add-in to make it happen?

Posted February 23rd, 2008 4:07 PM
Read more posts about .NET, Software.

View Comments
Link

  • This already exists in Coderush/RefactorPro. I forget which one it's a feature of as I have both.
  • dolzenko
    That won't be hard, really
    Look for VS 2005 automation samples on MS site, i'm pretty sure there should be something that will suite your need with just little tweakin
  • I've been wishing for the same thing here. There's nothing out there that does this that I know of. The Resharper people can probably add this functionality pretty quickly if someone suggests it to them. Maybe I'll do it.
blog comments powered by Disqus