+2
Аяқталған

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

esnip 12 year бұрын updated by Jon Skinner 11 year бұрын 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
Аяқталған
Use multiple selections to do this: e.g., Ctrl/Cmd+A, Ctrl/Cmd+Shift+L, and then run the macro
+2
Answer
Аяқталған
Use multiple selections to do this: e.g., Ctrl/Cmd+A, Ctrl/Cmd+Shift+L, and then run the macro
+4

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