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!
Via the menu:
View > Toggle foldings at Level > All levels
or shortcut:
ALT + ⌘ + 0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With