Hey Developers!
We are thrilled to announce the full release of Multi-Cursor Script Editing!
Since the launch of the beta in March, the team has been listening to your feedback and has been hard at work to make improvements! For an in-depth look at how to use Multi-Cursor to improve your scripting experience, please visit the documentation page.
What’s New?
Column/Block Select
Using a keyboard shortcut, highlight blocks of code or whitespace, cursors will be placed at the end of the selected block.
Shortcut on Windows: Shift + Alt + Drag
Shortcut on Mac: ⇧ + ⌥ + Drag
Split Selections into Lines
Place cursors at the end of each line in a multi-line selection and at the end of the selection.
Shortcut on Windows: Shift + Alt + I
Shortcut on Mac: ⇧ + ⌥ + I
Match Case/Whole Word
Update the selection criteria to match by case and/or whole word for the following functions:
- Add Cursor to Next/Prev Matching Selection
- Add Cursor to All Matching Selections
To do this, open the Find/Replace tool ( Ctrl/⌘ + F) and use the buttons to choose if the selection matched should be case sensitive and/or match the word only.
Note: By default, the selection criteria will not be by case or whole word!
On-Type Formatting
Pressing enter/return will auto-indent each cursor at the new line relative to the previous line. If the previous line starts with an incomplete block, the formatter will try to complete it.
Scroll Bar Markers
Visual indicators are shown on the scroll bar to help identify cursor locations.
Responses to User Feedback
The team has been keeping track of bugs reported by the community and has been hard at work resolving them. The following issues have been identified and addressed:
- Dragging and dropping a selection will now move the selection
- Ctrl+Left/Right keys now move the cursor to the end of the token instead of the beginning of the next one
- Resolved the high CPU usage and general performance issues
If you run into any more issues, we highly encourage you to report them, we would love to continue to improve your scripting experience!
Summary of Features
Feature | Windows | macOS |
---|---|---|
Add/Remove Cursor at Mouse | Alt + Click | ⌥ + Click |
Remove Most Recently Added Cursor | Ctrl + U | ⌘ + U |
Add Cursor Above/Below |
Above: Ctrl + Alt + ↑ Below: Ctrl + Alt + ↓ |
Above: ⌘+⌥ + ↑ Below: ⌘ + ⌥ + ↓ |
Add Cursor to Next Matching Selection | Ctrl + D | ⌘ + D |
Add Cursor to Every Matching Selection | Shift + Alt + L | ⇧ + ⌥ + L |
Add/Modify Cursor with Mouse Drag | Alt + Drag | ⌥ + Drag |
Column/Block Select | Shift + Alt + Drag | ⇧ + ⌥ + Drag |
Split Selections into Lines | Shift + Alt + I | ⇧ + ⌥ + + I |
Release Plan
Multi-Cursor Editing has begun rollout and will continue to ramp up to 100% in the coming days. The team will be closely monitoring for any potential issues throughout the release process and beyond.
We are extremely excited to see how this will improve the scripting experience for our Developers!
A huge thank you to the following for their amazing efforts in developing this feature: @HugoBLH, @BobaTops, @code4xp, @mugiwarasuuper, @windy0724, @Infomancer, @idevride, @IgnisRBX, and @rusi_002!
Happy scripting!