Collapse All in TextMate

不想你离开。 提交于 2019-12-06 02:08:29

问题


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

For example I have two methods:

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() { ...

Thanks!


回答1:


Via the menu:

View > Toggle foldings at Level > All levels

or shortcut:

ALT + + 0



来源:https://stackoverflow.com/questions/6376696/collapse-all-in-textmate

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