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

后端 未结 3 1629
长发绾君心
长发绾君心 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.

提交回复
热议问题