3 ms·
I am surprised at this: > Somewhere around 99% of my multiple cursors usage was adding a common prefix to a contiguous [series] of lines. I would say that it'
by jawns 9y ago
I am surprised at this:
> Somewhere around 99% of my multiple cursors usage was adding a common prefix to a contiguous [series] of lines.
I would say that it's somewhere around 25% of my usage.
More common -- probably 50% or more -- is finding all occurrences of a string scattered throughout a file and making edits to that string that are more sophisticated than a simple find-replace can handle (e.g. edits that involve back-references). In many cases, I could probably write a regex, but using multiple cursors is so much easier.
- ensiferum 9y agoSpend a day on writing a regex woah. Most editors have a find + replace feature which jumps to each location and allows it to be nicely reviewed before making the edit.