cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

If statement - comma

In JSL Editor, when the cursor is on the left of an opening bracket or on the right of a closing bracket, the bracket and the "other" bracket are highlighted:

brackets.gif

This behavior is known from other code editors and it helps a lot to find the way through complicated code : )

 

Is there a similar trick to highlight both brackets when the cursor is on the right of a comma which belongs to the same structure? 

hogi_1-1734510268965.png

 

slim version of: :folded_hands: optimized syntax highlighting in JSL editor 
I wonder if such a functionality is already available - or planned for a future release ...

1 ACCEPTED SOLUTION

Accepted Solutions

Re: If statement - comma

You can press Command-] on Mac or Control-] on Windows. It will select the inclusive 'fences.'

View solution in original post

6 REPLIES 6

Re: If statement - comma

You can press Command-] on Mac or Control-] on Windows. It will select the inclusive 'fences.'

hogi
Level XIII

Re: If statement - comma

Wonderful, thank you !!!!

I am SOO glad I asked.
Extreme boost for my code debugging : )

 

A pity that I didn't ask 2 years ago !!

for other languages, Keyboard layouts (?) , it might be

hogi_0-1734536255432.png

 

ErraticAttack
Level VI

Re: If statement - comma

Is this a JMP18 only thing?  I'm not seeing it in my JMP Pro 17.2

Jordan
hogi
Level XIII

Re: If statement - comma

it is there in JMP 17.2:
hm ...

hogi_0-1734647115156.png

 

hogi
Level XIII

Re: If statement - comma

maybe unintentionally disabled?

hogi_1-1734647219069.png

 

Re: If statement - comma

This behavior has existed in the JMP Script Editor for many releases. It is not new or unique to JMP 18.

Recommended Articles