Multi Selection Replace
Replace all the selections of text with the result of an expression.
Usage
- Select the text that you want to replace (you can creat multiple selectors holding down Alt while clicking with the mouse)
- Press Ctrl + Alt + M on Windows, Cmd + Alt + M on Mac
- Provide an expression in the input box at the top of the screen. You can use:
e : to reference the current element
i : to reference the current index
a : to reference the whole array of selections
- Press Enter
Examples
Increasing sequence

Increasing sequence (2nd example)

Fibonacci sequence

Source Code
Github repository with the source code here.
1.0.0
Initial release.
| |