Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I wonder if/how I can print any C# editor content with annotated coverage background color?

VS2010 ceased to even provide syntax highlighted printing. This was later added by means of a VS extension (see http://social.msdn.microsoft.com/Forums/en-US/2018079c-4896-45b2-affd-6620483c88e6/printing-source-code-with-syntax-coloring?forum=vcprerelease[^]).

It seems nobody was interested to print annotated code, though. No such functionality found in VS2010 and no trace of such a request found on the internet neither.

Any trick/hint/tool available to fill that gap?

Cheers
Andi
Posted
Updated 27-Feb-14 10:29am
v2
Comments
Maciej Los 27-Feb-14 17:48pm    
Why to print code at all? Is there any wellgrounded reason?
Andreas Gieriet 28-Feb-14 1:47am    
Some people need to document their decisions.
Not everyone likes to stare at the screen ;-)
Cheers
Andi
Maciej Los 28-Feb-14 1:55am    
Ok! I thought that no one want to do that now ;)
Cheers, Andi!
Maciej
Andreas Gieriet 28-Feb-14 4:37am    
Well, some industries need documented evidence of some kind ;-) And they need to be available on paper at least on request...
And not to forget my personal preferences: I'm an old fart who prefers very much reading/reviewing on paper than by staring at the screen...;-)
Cheers
Andi

1 solution

I think the only way you're going to get that is if you write the extension to do it. I can't find one nor can I find a hint of the existence of one.
 
Share this answer
 
Comments
Andreas Gieriet 28-Feb-14 4:31am    
Hello Dave,
Thanks for your feedback!
I might check how much effort it is to write a VS2010 editor extension to also print adornments. Maybe it's not so much effort...?
Cheers
Andi

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900