cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
SDF1
Super User

Is there a shortcut to collapse all Expr() in JSL code?

Hi All,

 

  I have a JSL code with many Expr() defined and was hoping to find out if there is some shortcut keyboard command, mouse click, or menu option in JMP that allows you to collapse all within the code.

 

  If not, this could be a nice thing to add in future versions.

 

Thanks!,

DS

1 ACCEPTED SOLUTION

Accepted Solutions
SDF1
Super User

Re: Is there a shortcut to collapse all Expr() in JSL code?

Hi @Mark_Bailey ,

 

  I actually just found out there is such a action -- a collapse all action. If you right click the editor, go to Advanced and then you can choose to expand or collapse all. By the way, I already had Code Folding enabled.

 

Thanks!,

DS

SDF1_1-1664903879236.png

 

View solution in original post

2 REPLIES 2

Re: Is there a shortcut to collapse all Expr() in JSL code?

You might use 'code folding' in the Script Editor. Enable it in File > Preferences (Windows) or JMP > Preferences (macOS).

 

fold it.PNG

 

See the Help > Scripting Guide for more details.

SDF1
Super User

Re: Is there a shortcut to collapse all Expr() in JSL code?

Hi @Mark_Bailey ,

 

  I actually just found out there is such a action -- a collapse all action. If you right click the editor, go to Advanced and then you can choose to expand or collapse all. By the way, I already had Code Folding enabled.

 

Thanks!,

DS

SDF1_1-1664903879236.png