在 TextMate 中全部折叠 [英] Collapse All in TextMate

查看:25
本文介绍了在 TextMate 中全部折叠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在 TextMate 中折叠给定 php 文件中的所有功能?

Is there a way to collapse all the functions in a given php file in TextMate?

例如我有两种方法:

function index() {
    //Sample code   
}

function beforeFilter() {
    //Sample Code
}

我希望能够发出一个命令,所有方法都将折叠为:

I would like to be able to issue a command where all the methods will collapse to:

function index() { ...

function beforeFilter() { ...

谢谢!

推荐答案

通过菜单:

查看 > 在级别切换折叠 > 所有级别

或快捷方式:

ALT + + 0

这篇关于在 TextMate 中全部折叠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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