如何在方法块内折叠注释块的代码? [英] How do I fold code for comment blocks inside method blocks?

查看:120
本文介绍了如何在方法块内折叠注释块的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与方法和区域等一样,如何折叠注释块在方法块中以折叠(概述)?

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

推荐答案

  1. 选择要隐藏的块
  2. Ctrl + M + H
  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.

这篇关于如何在方法块内折叠注释块的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆