Currently, code folding is not supported for messages, platforms, user-defined functions, and comments. Instead of a jmpkeyword.jsl option, a JSL advanced option to Collapse All Comment Blocks would be a very nice to have.
I think this is a good Idea.
I would think additionally about code folding assignments, e.g. a string covering several lines, or adding scripts to tables (that have many lines). Usually I help myself adding an expression and evaluating it, this makes the code much better readable. See examples.
sql_string = " select * from dual "; dtc << new script( "__newscript__", Names default to here(1); wait(1); wait(1); );
We're working on this for JMP 16.
JMP 16 now supports code-folding for multiline comments using /* */
This is very cool. Extensive comment blocks, those that apply context, assumptions, pseudo-code and references can be quite useful for training and just updating and testing old programs. Thank you JMP developers!!