Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack for values with leading 0 #42

Open
Naereen opened this issue Oct 12, 2016 · 5 comments
Open

Hack for values with leading 0 #42

Naereen opened this issue Oct 12, 2016 · 5 comments

Comments

@Naereen
Copy link

Naereen commented Oct 12, 2016

Hi!
First things first, well done and thanks for this useful package! I love it!

Now, do you think it would be possible to hack a little bit the inc/dec function for number, in order to preserve the number of leading 0 for pure numerical values?

Example:

  • Right now: 007 -> (inc) -> 8,
  • Possible improvement: 007 -> (inc) -> 008.

Thanks in advance.

@Naereen
Copy link
Author

Naereen commented Jan 11, 2017

Any update ?

@Naereen
Copy link
Author

Naereen commented Dec 1, 2017

@rmaksim any update?

@cgjosephlee
Copy link

@Naereen Try this!
https://github.com/cgjosephlee/increment_decrement

@Naereen
Copy link
Author

Naereen commented Nov 13, 2018

@cgjosephlee thanks for the suggestion. I stopped using Sublime Text two years ago, now I am using Visual Studio Code, 😺 !

@cgjosephlee
Copy link

VSCode is a good editor, too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants