visual-studio 什么是用于打印代码的最佳 Visual Studio 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/51871/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 16:28:14  来源:igfitidea点击:

What is the best Visual Studio Plugin for Printing Code

visual-studiovisual-studio-extensions

提问by mrbradleyt

Some of the features I think it must include are:

我认为它必须包括的一些功能是:

  1. Print Entire Solution
  2. Ability to print line numbers
  3. Proper choice of coding font and size to improve readability
  4. Nice Header Information
  5. Ability to print regions collapsed
  1. 打印整个解决方案
  2. 能够打印行号
  3. 正确选择编码字体和大小以提高可读性
  4. 不错的标题信息
  5. 能够打印折叠区域

Couple feature additions:

情侣功能添加:

  1. Automatically insert page breaks after methods/classes
  2. Keep long lines readable (nearly all current implementations are broken)
  1. 在方法/类之后自动插入分页符
  2. 保持长行可读(几乎所有当前的实现都被破坏了)

Note: There are many reasons to need to print code... One very good one is escrow.

注意:需要打印代码的原因有很多……一个很好的一个是托管。

回答by McKenzieG1

I use PrettyCode.Print for .NET. It does everything on your list, and more. (I use it for printing code excerpts for copyright registration paperwork, which is similar to your escrow case.)

我将PrettyCode.Print 用于 .NET。它可以完成您清单上的所有内容,甚至更多。(我用它来打印版权注册文件的代码摘录,这类似于您的托管案例。)

It is a little slow to open a really big solution, but not unbearably so, and the output quality is excellent.

打开一个非常大的解决方案有点慢,但不是无法忍受,并且输出质量非常好。

回答by Gulzar Nazim

Try StarPrint's VSNETcodePrint

试试 StarPrint 的VSNETcodePrint

回答by Joel Coehoorn

Couple feature additions:

情侣功能添加:

  • Automatically insert page breaks after methods/classes
  • Keep long lines readable (nearly all current implementations are broken)
  • 在方法/类之后自动插入分页符
  • 保持长行可读(几乎所有当前的实现都被破坏了)