qcz / vscode-text-power-tools

Text Power Tools extension for VS Code
https://marketplace.visualstudio.com/items?itemName=qcz.text-power-tools
MIT License
97 stars 14 forks source link

Insert <any> number sequence starting at 0 actually starts at 1 #16

Closed FPtje closed 3 years ago

FPtje commented 3 years ago

Summary

When using the option to insert a number sequence starting at a given number, and giving 0 as that given number, the sequence will actually start with 1. Negative numbers appear to work fine.

Reproducing

This seems like a bug. Sequences starting at 0 are my second most common use case. I often find myself using a different extension to translate the sequence to subtract one off each element.

qcz commented 3 years ago

Fixed in 1.22.1.

FPtje commented 3 years ago

Wow, that's quick! Thanks a lot!