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

天涯浪子 提交于 2019-12-03 09:00:56

问题


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


回答1:


  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.




回答2:


Edit + Outlining + Start Automatic Outlining.




回答3:


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.



来源:https://stackoverflow.com/questions/5922763/how-do-i-fold-code-for-comment-blocks-inside-method-blocks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!