Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将 Visual Studio 设置为默认折叠使用部分?每次我打开 ac# 文件时,我要做的第一件事就是击键折叠所有区域或单击折叠使用。也许设置中有一个复选框或一些resharper的选项可以让您默认折叠它们?
我对此的回答是将我的 usings 包装在 a#region中,VS 默认情况下会折叠。
#region
#region using using System; using System.Linq; #endregion using