Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VScode Line Number UtilsNew to Visual Studio Code? Get it now.
VScode Line Number Utils

VScode Line Number Utils

Phil Daniels

|
196 installs
| (1) | Free
Inserts / Copies line number(s) under cursor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Icon Logo
VSCode Line Number Utils

marketplace version    downloads    rating

Utilities for inserting and copying line numbers during single and multi-cursor editing. Similar utility to extensions like "Turbo Console Log" but more general and works for general editing


Currently there are four commands:
  1. Line Number Utils: Copy Line Number(s) at Cursor(s) to Clipboard: Mapped to ctrl+shift+alt+c. Will take the line number at the cursor(s) and copy to the system clipboard

  2. Line Number Utils: Insert Line Number(s) at Cursor(s): Mapped to ctrl+shift+alt+i. Will take the line number at the cursor(s) insert the corresponding number(s) at the cursor(s)


Showcase of extension commands 1 and 2
  1. Line Number Utils: Insert Sequential Number(s) at Cursor(s): Mapped to ctrl+shift+alt+q. Will open two input boxes, a box to accept a starting number, and a step, and increment from there. IE If step is start is 3, step is 2, and there are 4 cursors, will insert 3, 5, 7, 9 respectively at each cursor

  2. Line Number Utils: Insert Default Sequential Number(s) at Cursor(s): Mapped to ctrl+shift+alt+d. The same as command 3. but without prompts. Will automatically start at 0 and increment by 1.


Showcase of extension commands 3 and 4

License

MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft