Skip to content

tanben/vsc-step-line-generator

Repository files navigation

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

About

Visual Studio Code Extension for generating step and line numbers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published