cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
hogi
Level XII

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

2 REPLIES 2

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