在TextMate中折叠全部

时间:2011-06-16 18:22:35

标签: textmate

有没有办法折叠TextMate中给定php文件中的所有函数?

例如,我有两种方法:

function index() {
    //Sample code   
}

function beforeFilter() {
    //Sample Code
}

我希望能够发出一个命令,其中所有方法都将崩溃为:

function index() { ...

function beforeFilter() { ...

谢谢!

1 个答案:

答案 0 :(得分:14)

通过菜单:

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

enter image description here

或捷径:

ALT + + 0

相关问题