Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual Studio 2013 copy code and line numbers

Posted on 2013-11-15
1
Medium Priority
?
2,542 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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

730 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