Short cuts in the business rules editor?

ChristianW
Valued Contributor

Hi all

Are there any key short cuts in the business rules editor?

Cheers

1 ACCEPTED SOLUTION

ChristianW
Valued Contributor

Yes, there are some, her is a list of the Business Rules Editor shortcuts we know about. This list might not be complete. 

Ctrl+L  Deletes the current line 
Ctrl+C  If nothing is selected duplicates the current line 
Ctrl+] 

 Find the matching close parenthesis and moves the cursor to the end or beginning.

ChristianW_2-1634728422708.png
Shift+Ctrl+] Selects the whole string between matching parenthesis and moves the cursor to the end or beginning. 
Ctrl+Space Shows the Intellisense window for that specific item (use when you want to see Intellisense, of course after you lost it 😊). 
Space Autofill from the Intellisense when you are in Intellisense window. 
Ctrl+U Change to lowercase 
Shift+Ctrl+U Change to Uppercase 
Ctrl+M Collapses all collapsible regions 
Ctrl++ selects the full word, the full line, the full block … (always one step larger) 
Ctrl+- deselects the full word, the full line, the full block … (always one step smaller) 
Alt+<cursor up> Moves a selected block one line up 
Alt+<cursor down> Moves a selected block one line up 
Ctrl+t Switches the char left and right from the cursor 
Shift+ Ctrl+t Switches the words left and right from the cursor 
Ctrl+i Instantaneous searches forward while typing a word 
Shift+ Ctrl+i Instantaneous searches backward while typing a word 

 

If you find additional shortcuts, please reply to this post, I will add them to the list.

View solution in original post

6 REPLIES 6

ChristianW
Valued Contributor

Yes, there are some, her is a list of the Business Rules Editor shortcuts we know about. This list might not be complete. 

Ctrl+L  Deletes the current line 
Ctrl+C  If nothing is selected duplicates the current line 
Ctrl+] 

 Find the matching close parenthesis and moves the cursor to the end or beginning.

ChristianW_2-1634728422708.png
Shift+Ctrl+] Selects the whole string between matching parenthesis and moves the cursor to the end or beginning. 
Ctrl+Space Shows the Intellisense window for that specific item (use when you want to see Intellisense, of course after you lost it 😊). 
Space Autofill from the Intellisense when you are in Intellisense window. 
Ctrl+U Change to lowercase 
Shift+Ctrl+U Change to Uppercase 
Ctrl+M Collapses all collapsible regions 
Ctrl++ selects the full word, the full line, the full block … (always one step larger) 
Ctrl+- deselects the full word, the full line, the full block … (always one step smaller) 
Alt+<cursor up> Moves a selected block one line up 
Alt+<cursor down> Moves a selected block one line up 
Ctrl+t Switches the char left and right from the cursor 
Shift+ Ctrl+t Switches the words left and right from the cursor 
Ctrl+i Instantaneous searches forward while typing a word 
Shift+ Ctrl+i Instantaneous searches backward while typing a word 

 

If you find additional shortcuts, please reply to this post, I will add them to the list.

PhilB
New Contributor III

Christian,

Fantastic post. Some additional shortcuts I was taught by @ManasviR at Finit

1) Modify multiple lines of code at the same time:

Hold down the Alt key and drag a box around the code you want to modify:

2021-10-20_13-29-29.png
Change all lines simultaneously.

PhilB_3-1634751442724.png

2) Shift + Insert:  Creates a duplicate of the current row (no need to highlight the row)

3) Shift + Delete:  Delete the whole line that user is currently on (no need to highlight the row)

4) Ctrl + i: This will search for whatever is typed (similar to the search box).

  • Press Ctrl + i and the find icon will appearPhilB_2-1634752700914.png
  • Type the value you’re searching for and it will find the first occurrence from where your cursor was prior to the search and highlight the value. The find icon will continue to remain active.
  • Continue pressing Ctrl + i to find the next occurrence(s)

5) Use Tab (or Shift + Tab) to indent (or outdent) entire blocks of code. Just highlight what you want to indent first.

6) Split your editor into two sections

PhilB_3-1634753107939.pngPhilB_4-1634753116584.pngPhilB_5-1634753120646.png

There are quite a few more, but these are some of the more useful ones.

Phil Brosnan
pbrosnan@finit.com | finit.com

ChristianW
Valued Contributor

Hi Phil, thank you for the information, if you don't mind, I will add the missing shortcuts to the table. Cheers Christian

KH1
New Contributor II

hi folks,

"Comment out" + "Uncomment": What are their shortcut keys? TY.

kberry
New Contributor III

Hi Christian - Great stuff. Some small edits:

Ctrl+L and Shift+Delete both delete the current line and place it on the clipboard.

Ctrl+M toggles between expanding and collapsing all expandable regions. It starts with expanding, then collapses on the second press.

 

I could not get Ctrl+C to work for me.

Ctrl+C is not going to duplicate, it adds that to the clipboard, and then you can use Ctrl +V to paste the line.

I did post something a while ago here.

OneStream Business Rule Editor - Quick Tip #1 - CPM Insights

Some of them are captured by Chrisitian.