Hiding the regions in Visual Studio

后端 未结 7 495
-上瘾入骨i
-上瘾入骨i 2020-12-08 10:19

I know VS code folding issues are an old chestnut, but I haven\'t been able to find this in all the other discussions I have browsed through:

We have a team of C# gu

7条回答
  •  一生所求
    2020-12-08 11:21

    I hate regions (my team loves them) and was surprised to find that nobody has written an extension to make them better. I finally wrote one myself called I Hate #Regions:

    Make #regions suck less (for free):

    http://visualstudiogallery.msdn.microsoft.com/0ca60d35-1e02-43b7-bf59-ac7deb9afbca

    • Auto Expand regions when a file is opened
    • Optionally prevent regions from being collapsed (but still be able to collapse other code)
    • Give the #region / #end region lines a smaller, lighter background so they are less noticeable (also an option)
    • Works in C# and VB

    Region Tool Screenshot

提交回复
热议问题