Automatically Add Regions to Code in Visual Studio

后端 未结 7 2053
轻奢々
轻奢々 2021-02-20 06:09

My team absolutely loves using regions, and with that in mind it\'s pretty much become a de-facto standard in our code. I recently came to realization that I\'m sick of writing

7条回答
  •  借酒劲吻你
    2021-02-20 06:53

    Don't know why so many people speak out against regions; they help me categorize my code very easily. What I use is a macro placed on one of my keyboard buttons that automatically inserts the regions for me. One tip I can give you is to put a small delay between each keypress if this is possible because VS sometimes misses characters otherwise.

    Hope this helps!

提交回复
热议问题