2023/05/15

Using the VSCode extension 'vscode-input-sequence'


The 'vscode-input-sequence' is an extension that allows you to add sequential numbers to text or source code.

How to use

Here are the steps to add sequential numbers:

  1. Make multiple selections (hold Alt while making selections, or use Shift + Alt for column selection).
  2. Press Ctrl + Alt + 0.
  3. Enter the sequential numbering settings.

The sequential numbering settings is in the following format:

<start> <operator> <step> : <digit> : <radix>

setting description
start The starting number.
operator The operator to use. Specify either '+' or '-'.
step The increment or decrement value.
digit The number of digits.
radix The radix. If set to 2, the numbers will be displayed in binary.

Note : All values except for 'start' are optional."

example :
1+1:2 : To count up from 1 with an increment of 1, a 2-digit display

code spell checkerの使い方1

1+2:4:2 : To count up from 1 with an increment of 2, a 4-digit display, in binary:

code spell checkerの使い方2

Setting

It appears that the extension has not been maintained for a long time and may have some bugs.
To work around this, the following settings are required

code spell checker setting

code spell checker setting2

reference




Comment (github account is required)