atom-increment is a package i wrote for the Atom text editor.
It increments values from either a selection, multiple cursors or a combination of both.
See Figure 1 for a screenshot.
You can increment :
numbers using :
atom-increment:incNumber
command,ctrl-alt-i
keyboard shortcut,strings using :
atom-increment:incString
command,ctrl-alt-j
keyboard shortcut.Please note that you might need to refresh your Atom application for your settings changes to take effect.
You can define settings for number
or string
type :
Those default values will generate a sequence like so : 0 1 2 3 4 etc...
If you set start value
to 10
and size
to 2
, it will generate : 10 12 14 16 etc...
There are also general settings :
The number of generated elements will only depend on your selections / multiple cursors.
MIT (see License)
Figure 1 : a screenshot of the atom-increment
package settings
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.