Visual Studio C# statement collapsing

前端 未结 12 1966
闹比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 17:58

    In VS2017 you can highlight a section of code, right-click, Outlining > Hide selection. This will collapse the code and provide a toggle to the section highlighted.

提交回复
热议问题