Solved

Visual Studio 2013 copy code and line numbers

Posted on 2013-11-15
1
2,368 Views
Last Modified: 2013-11-17
Hi experts,

I was using Visual Studio  2010 Ultimate edition.

I had found this Visual Studio add on:

CopySourceAsHtml
http://technovogeek.blogspot.com/2012/04/copy-code-and-line-numbers-in-visual.html

So with this add on when I'm working on a windows forms application and I'm working in the VB code view of a windows form page.

If I highlight my code and then right click my mouse button, then I get this menu.
If you notice the add on above added the Copy As HTML item to this menu.

copy code with line numbers menu item
So if I choose Copy As HTML and then in Microsoft Word I type Ctrl+V to paste.
It pastes my code with line numbers.

Here is a video that shows what I'm talking about:

How CopySourcesAsHtml works with Visual Studio 2010 video


This add on worked with Visual Studio 2010 Ultimate just fine.

I just upgraded to Visual Studio 2013 Ultimate but this add on doesn't seem to work.

Is there a functionality in Visual Studio 2013 Ultimate or an add-on out there that will work with Visual Studio 2013 Ultimate that the will let me copy code with line numbers and then paste it into Word just like the add-on from above?
0
Comment
Question by:maqskywalker
1 Comment
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 39653270
maybe the trick that was working for 2012 will also work with 2013: http://www.thecodeface.co.uk/post/view/Hacking-Copy-As-HTML-plugin-to-work-with-Visual-Studio-2012
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question