Copy As HTML

Free

Copy selected code in HTML format while preserving syntax highlighting, indentation and background colour. Options: Max Height, Title Block, Alternating Lines, Line Numbers, Wrap Lines, Un-indent, Background Colour, Class Names. Converts RTF, outputted by VS, into HTML.

(17) Review
Visual Studio
2010, 2008, 2005
Download (17,893)
8/9/2011
1.7
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (17)
Q and A (21)
Sign in to Write a Review
Sort By:

by calf__ | January 21 2013

This tool is very cool,but there is some problem with me~
My vs is Visual Studio 2010(chs),i can not find it in context menu or "Menubar –> Edit" after install

by sydman1 | July 14 2012

This is excellent. Love it!!! Keep on the good job!!!

by Özgür SARI | June 28 2012

I really liked this...

by _Witek_ | June 07 2012

Works nicely. It would be useful to be able to add custom title instead of the default Code Snippet.

by Dragan Radovac | April 16 2012

by Patrick Butler Monterde | February 28 2012

Great Application. I would love to see the ability to change the font type in the tool.

by Daniel Kreuzhofer - Consultant | January 15 2012

Great tool. Very simple and just working!

by Patrick Layani | November 17 2011

nice work. very simple to install and use, and do the work perfectly.

by zedubal | October 19 2011

Very nice!

by Jens Vestergaard | September 19 2011

This is a really nice and well done tool.
It's on the top 3 list of tools I install right after Visual Studio is installed on a new computer.
Great job!

by Jason R. Shaver (MSFT) | September 07 2011

Works great, I only wish there was a way to make it the default 'copy' and to have it skip the dialog.

by David Ballantyne | October 12 2010

For anyone who has to write developer documentation, this tool is a must and will save you literally hundreds of hours.

Excellent tool.

Regards

Dave

by Owen1980 | July 05 2010

by Mikhail Brinchuk | April 27 2010

by mkamoski3 | April 12 2010

All -- The "Copy As Html" plug-in is great. It save a lot of time. I highly recommend. Thank you VERY much. -- Mark Kamoski

by Eyal Shilony1 | September 19 2009

5 stars for simple installation, no setup requirements, simplicity, code customizability, and perfection. :)

by Wole Ogunremi | September 16 2009

Sign in to Start a Discussion


  • Visual Studio 2012 Version?
    1 Posts | Last Post February 21, 2013
    • This tool looks awesome. I would love to use it but I work in Visual Studio 2012. Do you happen to have any plans to make it available for 2012? Thanks!
  • Invisible line numbers
    1 Posts | Last Post September 05, 2012
    • At first I thought it was losing the line numbers when I copy/paste.
      
      Then I realized my background color is black and the line number are also black (apparently hard-coded).  It would be nice if the tool would honor the configuration I have in VS for the color of the line numbers, or at least automatically choose a high-contrast color for the line numbers compared to the background color.
  • Is it possible to port this to SSMS?
    1 Posts | Last Post August 28, 2012
    • Hi Tim, outstanding tool!  I just used it for the first time in my latest blog entry and it is easy and looks great.  Since SQL Server Management Studio uses the VS 2010 Shell, is it possible to manually port the add-in for usage there?  Any tips on how I could try that out?
      
      Thanks,
      Sam Lester
  • Background color and line numbers
    1 Posts | Last Post August 01, 2012
    • I was looking for a plugin to copy code keeping line numbers.
      
      I use a dark theme and my background is black.  To make my colors look nice when copying, I would like to set the background to black.  However, the line numbers text is black so I can't see them.
      
      Is there a work around for this?
  • Copy as cleaner code
    1 Posts | Last Post July 05, 2012
    • This might be a bit out of scope for the AddIn, but I was wondering if you would be willing to make it copy to plain text, where especially the "Unindent" is very useful, especially if the plain text variant would have tabs replaced with spaces.
  • Visual Studio 2010 version
    3 Posts | Last Post May 31, 2012
    • Any news on the VS2010 vsix version?
    • Hello,
      
      To make it work on Visual Studio 2010, go to the installation folder of the addin, usually it will pick your MyDocument folder '.\MyDocument\Visual Studio 2008\Addins', copy the addin to the new Visual Studio folder '.\MyDocument\Visual Studio 2010\Addins'.
      
      Here are the folders and files you need to copy.
      
      \de-DE
      \es-ES
      \fr-FR
      \he-IL
      \it-IT
      \ja-JP
      \ko-KR
      \zh-CHS
      \zh-CHT
      LavernockEnterprises.CopyAsHtml.2008.AddIn
      LavernockEnterprises.CopyAsHtml.dll
      
      After you done with it, you will need to edit this file 'LavernockEnterprises.CopyAsHtml.2008.AddIn' and add Visual Studio to the supported hosts.
      
      Add the following above the existing entry.
      
      <HostApplication>
      	<Name>Microsoft Visual Studio</Name>
      	<Version>10.0</Version>
      </HostApplication>
      
    • This appears to work for VS11 Professional (Beta) also.
      
      Change
      
      <Version>10.0</​Version>
      
      to
      
      <Version>11.0</​Version>
  • Create valid HTML
    1 Posts | Last Post March 13, 2012
    • Great tool!
      
      One request would be to make sure that the HTML you generate is valid.  For example, <br> is generated instead of <br/>.  This is especially important for XHTML and HTML 5.
      
      Thanks for your time.
  • Support for Visual Studio 11 Beta
    1 Posts | Last Post March 03, 2012
    • Hi,
      
      Are you planning to support Visual Studio 11 Beta? We really want to start blogging :)
      
      Another feature request: please allow the user to select the font. I'd like to use consolas instead of courier new.
      
      Thanks!
  • How to use it?
    1 Posts | Last Post February 08, 2012
    • I downloaded and tried , but I could not find it . why?
      I use VS2010.
      I installed it successfully.how to use it?
      
      thanks.
      
  • Odd character in pasted code
    1 Posts | Last Post February 03, 2012
    • Hi, Just downloaded and tried - just what I was looking for!
      
      Minor problem though, when I paste some c# from VS2008 I get embedded  characters before every nbsp used for indents? Am I doing something stupid?
      
      Thanks - Ian
1 - 10 of 21 Items