VS development is essential to make the code automatically contract !, Vs required

Source: Internet
Author: User

VS development is essential to make the code automatically contract !, Vs required

A year ago, I did not know where to see the development auxiliary plug-in. I installed it, and I never knew it was used. One day I reinstalled the system, and the plug-in disappeared, he can no longer remember his name,

Searching for "auto-Contract Code", "VS development essential plug-in" and so on the Internet has never been able to find this plug-in. Today I accidentally discovered it again.

C # outline 2012

Write this article to share with you.

This plug-in can be used when there are many codes in a class or a large number of code points in a function. For the code owner, shrinking the code will always think:

# Region MyRegion // content 1 # endregion

As shown in the following section:

1 if (type = 1) 2 {3 # region MyRegion 4 // content 1 5 # endregion 6} 7 else 8 {9 # region MyRegion10/content 211 # endregion12}

Effect after using C # outline 2012:

 

Automatically contract if switch for and other code blocks.

Make your code management organized.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.