Visual Studio C# statement collapsing

前端 未结 12 1989
闹比i
闹比i 2020-11-30 17:23

When editing really long code blocks (which should definitely be refactored anyway, but that\'s beyond the scope of this question), I often long for the ability to collapse

12条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 18:12

    Visual Studio 2008 supports regions inside of functions as long as you keep them in the same code hierarchical level

    #region Won't work
    for(int i = 0; i

提交回复
热议问题