Edit: Number Rectangle Lines…
edit.numberRectangle Insert consecutive numbers down the left edge of the rectangle.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Edit: Number Rectangle Lines…, then press Enter. It also has a default keybinding:
| Emacs | C-xrS-n |