How to code fold so that it also folds the comments that are inside the fold?
Submitted by Wednesday, 25 May, 2011 - 15:05
on
I have folding set to 'sidekick.' In a javascript file if I have
function foo() {
/*
bla
bla
*/
}
it shows the fold for foo() but when clicked it doesn't hide the comments. since the comments are inside the function I'd expect them to be hidden also. How can I achieve this?
Thanks
function foo() {
/*
bla
bla
*/
}
it shows the fold for foo() but when clicked it doesn't hide the comments. since the comments are inside the function I'd expect them to be hidden also. How can I achieve this?
Thanks