The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
ChristianW
OneStream Employee
4 years agoShort cuts in the business rules editor?
Hi all
Are there any key short cuts in the business rules editor?
Cheers
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.
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.
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:
Change all lines simultaneously.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 appear
- 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
There are quite a few more, but these are some of the more useful ones.
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.
7 Replies
- KeithBerry
OneStream Employee
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.
- ckattookaranValued Contributor
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.
https://cpminsights.com/2019/08/13/onestream-business-rule-editor-quick-tip-1/
Some of them are captured by Chrisitian.
- ChristianW
OneStream Employee
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.
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.
- James
OneStream Employee
I found one by accident today... ctrl+f to open a search / replace tool.
It is quite cool in that if it can’t find the text in your BR / Assembly file, the search box turns red.
Also allows for Case Sensitive, Full words and Regular Expression based searches!
- KH1Contributor III
hi folks,
"Comment out" + "Uncomment": What are their shortcut keys? TY.
- PhilBNew 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:
Change all lines simultaneously.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 appear
- 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
There are quite a few more, but these are some of the more useful ones.
- ChristianW
OneStream Employee
Hi Phil, thank you for the information, if you don't mind, I will add the missing shortcuts to the table. Cheers Christian
Related Content
- 1 year ago
- 11 months ago
- 2 months ago