折叠/折叠 sublime text 2 中的 except 代码部分 [英] Fold / Collapse the except code section in sublime text 2

查看:35
本文介绍了折叠/折叠 sublime text 2 中的 except 代码部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何插件或快捷方式可以隐藏 sublime text 2 中除代码部分之外的所有内容?

Is there any plugin or shortcut to hide all except code section in sublime text 2?

我需要一次折叠除部分以外的所有部分,而不是一次折叠一个部分.

I need to fold all except section at a time , Not fold one section at a time.

谢谢~

推荐答案

如果您将鼠标悬停在行号上,您将看到箭头 - 单击其中任何一个都将折叠/折叠代码

If you'll hover with the mouse over the line numbers you'll see arrows - clicking on any of them will fold/collapse the code

如果你想折叠/展开所有 - 你可以通过编辑->代码折叠并选择全部折叠"或全部展开"来实现:

If you want to collapse/expand all - you can do so by going to edit->code folding and choose "fold all" or "unfold all":

这篇关于折叠/折叠 sublime text 2 中的 except 代码部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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