The code folding in 5.2 is an improvement but code folding for switch that folds each 'case' would be a great improvement for me.
example:
switch($value){
//Comment
case 1:
//Do something here
break;
//Comment
case 2:
//Do something here
break;
//Comment
default:
//Do something here
break;
}
|
Ideally This should fold to something like this:
switch($value){
//Comment
case 1:
+ {...}
//Comment
case 2:
+ {...}
//Comment
default:
+ {...}
}
|
I know there are no '{' or '}' in the case syntax but if there is a way of folding from the ':' after the 'case' to the 'break;' this would be great.
Fingers crossed for the next version