usernamehw / vscode-incrementor

Advanced increment / decrement actions for (almost) anything.
https://marketplace.visualstudio.com/items?itemName=usernamehw.incrementor
MIT License
3 stars 1 forks source link

Numeric enum would conflict with incrementing #1

Open usernamehw opened 4 years ago

usernamehw commented 4 years ago
"incrementor.enums": [
    ["1", "3", "5"]
]

Increment of number happens before the enum check:

https://github.com/usernamehw/vscode-incrementor/blob/393860b2c657191554faa1e47f1c5c74220b1a39/src/extension.ts#L159-L161