+2
Lokið

The possibility to apply a macro until the end of the file or for N times

esnip 13 ár síðan updated by Jon Skinner 12 ár síðan 3
We can save a macro and then run it how many times we want, but we have to do it manually, it would be nice if we could use the macro until the end of the file or for N times.


Answer

+2
Answer
Lokið
Use multiple selections to do this: e.g., Ctrl/Cmd+A, Ctrl/Cmd+Shift+L, and then run the macro
+2
Answer
Lokið
Use multiple selections to do this: e.g., Ctrl/Cmd+A, Ctrl/Cmd+Shift+L, and then run the macro
yes it does! :) thanks!
+4

I tried Jon Skinner's solution and it froze Sublime for several minutes with a simple macro on a 10,000 line file