Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Multi-Cursor InserterNew to Visual Studio Code? Get it now.
Multi-Cursor Inserter

Multi-Cursor Inserter

Ameya Jain

|
1 install
| (1) | Free
Insert incrementing numbers with various presets at multiple cursors.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Multi-Cursor Incrementing Inserter

A VS Code extension to insert incrementing numbers at multiple cursors with customizable prefix, suffix, padding, and cursor order.

Features

  • Insert incrementing numbers with a prefix, suffix, or plain numbering.
  • Choose the start number and zero padding.
  • Choose whether to apply numbering in document order (top-to-bottom) or selection order (order of your cursors).
  • Supports multi-cursor editing for fast bulk insertion.

Commands

  • Insert Incrementing Numbers with Prefix
    Inserts numbers with a user-specified prefix (default: start_).
    Keybinding: Cmd + Alt + P

  • Insert Incrementing Numbers with Suffix
    Inserts numbers with a user-specified suffix (default: _end).
    Keybinding: Cmd + Alt + S

  • Insert Plain Incrementing Numbers
    Inserts plain incrementing numbers with no prefix or suffix.
    Keybinding: Cmd + Alt + N

Usage

  1. Place multiple cursors where you want to insert numbers (e.g., using Cmd + D).
  2. Run one of the commands via Command Palette or use the keybindings.
  3. Follow prompts to enter:
    • Start number
    • Prefix or suffix (depending on the command)
    • Zero padding (number of digits)
    • Cursor processing order (Document Order or Selection Order)
  4. Numbers will be inserted at each cursor accordingly.

Installation

Install from the Visual Studio Marketplace or build and install locally:

npm install
npm run compile
code --install-extension multi-cursor-inserter.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft