Multi Selection Replace
Replace all the selections of text with the result of an expression.
- 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
Increasing sequence (2nd example)
Github repository with the source code here.