Change word case, number value and loop between keywords with the arrows of your keyboard.
Note: this package is kinda like in beta: it works in most cases, but in some cases the results can be a little weird. Don't hesitate creating an issue when you find one.
On Mac OS X: alt-up
On Windows & Linux: alt-up
On Mac OS X: alt-down
On Windows & Linux: alt-down
On Mac OS X: cmd-alt-up
On Windows & Linux: cmd-alt-up
On Mac OS X: cmd-alt-down
On Windows & Linux: cmd-alt-down
When you trigger the command over a word, it will loop between lowercase
, uppercase
and camelCase
(adding a uppercase letter at cursor position).
When you trigger the command over certain words, it will loop between numerous possible values, like yes
and no
.
The built-in enums are :
You can also add your own enums by modifying your ~/.atom/config.cson
file, like this :
'string-looper':
'enums': [
[
'oui'
'non'
],
[
'am'
'pm'
]
]
When you trigger the command over a number, it will increment/decrement it by 1
.
If you use the "(in|de)crement-at-cursor" command, it will increment/decrement it at the point of the cursor.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.