简体   繁体   中英

Visual Studio: Collapse selected Code

Everytime Visual Studio crashes all my arrays and functions unfold. I use Ctrl + M + O to collapse all the functions, but the arrays all remain unfolded.

I have very long double arrays (I know, I should be using classes, I'm a noob) where I'm forced to click on the [-] button at every entry to collapse the code unless I want to scroll through 2000 lines of code everytime. Is there any way to select and collapse all selected code?

在此处输入图片说明

对于数组,选择代码,然后按Control + M + M

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM