Folding block of codeFolding block of code and giving it a title is very useful in the world of programming.
As for now, the only option to fold some code lines is Expr() or Function(). And then I need to run that function or expression - time consuming and adds needless line of code.
Please cosider adding some Fold() function which just folds the code.
ScriptingRe: Folding block of codeExpr() and Function() can do the job but they have their own purpose.
And we have to create a variable + call/run them after declaration.
I am using Visual Studio and it is called "region" there. It just creates a fold.
#region CreatingABC
codeABC1
codeABC2
#endregion

after you fold it, you see just this:

Re: Folding block of code - Status changed to: Needs InfoThe script editor supports custom keyword lists to allow folding beyond Expr() and Function(). Can you explain what more is needed here?
Re: Folding block of codeGreat Idea! I need this too!