Copying source code as HTML from Visual Studio 2005

One of the things I frequently do is copy VB source code into emails and documents. Now Visual Studio 2005 formats the source code on the clipboard but the resulting HTML is a bit of a dog. Most of the time I just ignored this as a minor annoyance but I was working on a newsletter and the HTML needs to be as clean as possible, clearly not what VS2005 produces.

 

Fortunately there is a solution and it is called CopySourceAsHTML. There is a special VS2005 installer, take a look at this blog post for details on how to download and install it http://www.avocadosoftware.com/csblogs/dredge/archive/2006/01/10/544.aspx

 

Recommended :-)

 

Maurice de Beijer

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>