sequence-creator Made for Pulsar!

Create sequence of numbers or chars in the across multiple cursors

bacadra

0

0

0.0.1

MIT

GitHub

sequence-creator

A Pulsar package, to inputs sequential numbers across multiple cursors.

A project is a fork of sequential-number. List of changes:

Installation

To install sequence-creator search for sequence-creator in the Install pane of the Pulsar settings or run ppm install sequence-creator. Alternatively, you can run ppm install bacadra/pulsar-sequence-creator to install a package directly from the Github repository.

Syntax Rules

<start><operator><step><#radix><:padding><^repeat><flags>
Key Default Definition
start mandatory item that you start typing, e.g. 1, -1, +1, 21, a, ac, aC
operator + operation to calculate next step value: + or -
step 1 integer to be added or subtracted, e.g. 2, -2, +2
radix 10 The integer between 2 and 36 that represents radix
padding empty The padding command, e.g. <2, <2, 0<2, a<2
repeat 1 An index repeat count as positive integer
flags empty A mix of letters:
! reorder cursors by position
@ print plus sign if positive

Examples

The following sample the cursor length is 5.

Input
  => 1
  => 1+
  => 1+1

Output:
  => 1, 2, 3, 4, 5

Input
  => 1^2
  => 1+^2
  => 1+1^2

Output:
  1, 1, 2, 2, 3

Input
  => 10+2

Output:
  10, 12, 14, 16, 18

Input
  => 0027+3
  => 27+3:>4
  => 27+3:0>4

Output:
  0027, 0030, 0033, 0036, 0039

Input
  => a+2

Output:
  a, c, e, g, i

Input
  => c+20

Output:
  c, w, aq, bk, ce

Input
  => c+20:a>3

Output:
  aac, aaw, aaq, abk, ace

Contributing

If you have any ideas on how to improve the package, spot any bugs, or would like to support the development of new features, please feel free to share them via GitHub.