Hi. We all know that Sublime has still to be improved in code folding features.
One of the features I used most in Zend Studio was to be able to fold all functions bodies inside a class, so you just see the class definition line and the lines where you write the functions names and their attributes. Something like:
/…/
class myClass{
/…/
function firstFunction($a,$b,$c) {…}
/…/
function secondFunction($a,$b,$c) {…}
/…/
function thirdFunction($a,$b,$c) {…}
}
I have not found a solution for this, but the best thing I have seen is the RegReplace Package http://facelessuser.github.io/RegReplace/usage/ but I have not been able to build a regular expression for collapsing the function’s body.
Maybe @facelessuser can help us.
Thank you