如何在VS2010中使用coverage注释打印C#代码 [英] How to print C# code with coverage annotation in VS2010

查看:93
本文介绍了如何在VS2010中使用coverage注释打印C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否/如何使用带注释的覆盖背景颜色打印任何C#编辑器内容?



VS2010甚至不再提供突出显示语法的语法。这是后来通过VS扩展添加的(参见 http://social.msdn.microsoft.com/Forums/en-US/2018079c-4896-45b2-affd-6620483c88e6/printing-source-code-with-syntax-着色?论坛= vcprerelease [ ^ ])。



似乎没有人感兴趣但是要打印带注释的代码。在VS2010中没有找到这样的功能,也没有在互联网上找到这样的请求的痕迹。



任何技巧/提示/工具可以填补这个空白?



干杯

Andi

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

推荐答案

我认为你去的唯一方式如果你写扩展名就可以了。我找不到一个,也不能找到一个存在的暗示。
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.


这篇关于如何在VS2010中使用coverage注释打印C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆