Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>step-line-generatorNew to Visual Studio Code? Get it now.
step-line-generator

step-line-generator

TanBen

|
1,441 installs
| (0) | Free
Step and Line number generator
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

step-line-generator README

VisualStudio Marketplace VSCodeVersion

This extension will search for string tempates STEP-{} and LINE-{} and generate a STEP counter and/or Line number.

Run extension

View > Command Palette > Generate STEP-{} and LINE-{} number

Features

  • Generate Line number
  • Generate a step number

Type of templates:

  • STEP-{} , a step counter is incremented each time an instance is found on a different line.
  • LINE-{} , the current line number

Before

console.log ('LINE-{} STEP-{} Open your notebook');
console.log ('LINE-{} STEP-{} grab your pencil, say again  STEP-{}');
console.log ('LINE-{} STEP-{} Close your notebook');

After

console.log ('LINE-{1} STEP-{1} Open your notebook');
console.log ('LINE-{2} STEP-{2} grab your pencil, say again  STEP-{2}');
console.log ('LINE-{3} STEP-{3} Close your notebook');

Demo

image

Known Issues

Release Notes

0.0.1

published

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