cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

If statement - comma

hogi
Level XII

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: 🙏 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 XII


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 XII


Re: If statement - comma

it is there in JMP 17.2:
hm ...

hogi_0-1734647115156.png

 

hogi
Level XII


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.