cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

Enable Code Folding for Comment Block (/* */)

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.

4 Comments
Georg
Level VII

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);
);
Jeff_Perkinson
Community Manager
Status changed to: Yes, Stay Tuned!

We're working on this for JMP 16.

Jeff_Perkinson
Community Manager
Status changed to: Delivered

JMP 16 now supports code-folding for multiline comments using /*  */

 

2021-03-29_15-00-41.009.png

gzmorgan0
Super User (Alumni)

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!!