How do I fold code for comment blocks inside method blocks?

后端 未结 3 1624
长发绾君心
长发绾君心 2021-02-02 15:10

How can I fold comment blocks inside method blocks to be folded (outlined), just like methods and regions, etc.?

相关标签:
3条回答
  • 2021-02-02 15:25
    1. Select the block that you want to hide
    2. Ctrl+M+H

    This needs to be done only once. The block will become collapsible afterwards.

    0 讨论(0)
  • 2021-02-02 15:26

    I think it might be right...

    도구 > 옵션 > 텍스트 편집기 > C/C++ > 서식 > 개요 > 문 블록에 개요 사용 : True --> 모든 블록에 folding/unfolding 사용 가능.

    Tool > Option > Text Editor > C/C++ > Form > Outline > Use statement on the block overview : True --> Every block folding / unfolding can be used.

    0 讨论(0)
  • 2021-02-02 15:35

    Edit + Outlining + Start Automatic Outlining.

    0 讨论(0)
提交回复
热议问题