开发者

Collapse All in TextMate

开发者 https://www.devze.com 2023-03-13 23:02 出处:网络
Is t开发者_开发知识库here a way to collapse all the functions in a given php file in TextMate?

Is t开发者_开发知识库here 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!


Via the menu:

View > Toggle foldings at Level > All levels

Collapse All in TextMate

or shortcut:

ALT + + 0

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号