如何不在 Visual Studio 2015 中打印折叠的代码区域 [英] How do I not print collapsed code regions in Visual Studio 2015

查看:27
本文介绍了如何不在 Visual Studio 2015 中打印折叠的代码区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确定这是一个愚蠢的问题,但我似乎找不到答案.我需要打印我的程序代码,但我不想打印折叠的区域,因为这样每次打印可以节省大约十多页纸.Visual Studio 2015 中执行此操作的设置在哪里(如果有)?我正在使用 C#.

I'm sure this is a foolish question, but I can't seem to find an answer. I'm required to print out my code for a program, but I want to not print regions that are collapsed, as this would save about a dozen pages of paper per print. Where is the setting in Visual Studio 2015 to do this, if there is one? I am working in C#.

推荐答案

将折叠区域剪切/粘贴到函数中,然后将这些函数放入不同的文件中.在重构和让你的代码更容易阅读方面,它很容易低谷果实".

Cut/Paste your collapsed regions into functions and put those functions into a different file. Its easy "low lying fruit" in terms of refactoring and making you code so much easier to read.

区域很恶心

这篇关于如何不在 Visual Studio 2015 中打印折叠的代码区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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