Solved

Visual Studio 2013 copy code and line numbers

Posted on 2013-11-15
1
2,446 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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…

734 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