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.
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
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!
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!
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.
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
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?
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.
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>
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.
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!
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