有没有办法在解决方案资源管理器中自动折叠脚本文档部分? [英] Is there a way to automatically collapse the Script Documents section in solution explorer?

查看:18
本文介绍了有没有办法在解决方案资源管理器中自动折叠脚本文档部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试模式下,解决方案资源管理器有一个脚本文档部分.默认情况下它是展开的.在调试器运行时,新的 ScriptDocumentxxx poll.txt 文件被添加到此部分.当我浏览资源管理器文件时,添加这些新行项目会导致资源管理器的整个内容向下移动.如果我试图查找文件或尝试单击某些内容,这会很烦人.我可以手动折叠该部分,但我不想一直这样做.

While in debug mode, the solution explorer has a Script Documents section. It is expanded by default. As the debugger runs, new ScriptDocumentxxx poll.txt files are added to this section. As I am navigating the explorer files, the adding of these new line items causes the entire contents of the explorer to shift downward. This is quite annoying if I am trying to find a file or trying to click something. I can collapse the section manually, but I'd rather not have to do this all of the time.

推荐答案

右键单击您感兴趣的项目,然后单击Scope to this".这将隐藏除您选择的项目之外的所有内容(包括脚本文件夹).

Right click the projects you are interested in working on and click on 'Scope to this'. This will hide everything (Including the scripts folder) except those projects you selected.

这篇关于有没有办法在解决方案资源管理器中自动折叠脚本文档部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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