cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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