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

Allow emoji in enums #18

Open
dougwaldron opened this issue Sep 6, 2019 · 2 comments
Open

Allow emoji in enums #18

dougwaldron opened this issue Sep 6, 2019 · 2 comments

Comments

@dougwaldron
Copy link

It would be nice to be able to create a sequence of emoji that can be cycled through using this extension. Some examples:

[
    ["😊", "πŸ™‚", "😐", "πŸ™", "☹️"],
    ["❀", "🧑", "πŸ’›", "πŸ’š", "πŸ’™", "πŸ’œ", "πŸ–€"],
    ["β™ ", "β™₯", "♦", "♣"],
    ["πŸ•", "πŸ•‘", "πŸ•’", "πŸ•“", "πŸ•”", "πŸ••", "πŸ•–", "πŸ•—", "πŸ•˜", "πŸ•™", "πŸ•š", "πŸ•›"]
]
@usernamehw
Copy link

Just forked and published because I wanted this feature. Maybe something is broken now, since I simply removed regex pattern check usernamehw@22657ea

You can try it out and leave some feedback if it works or not.

https://marketplace.visualstudio.com/items?itemName=usernamehw.incrementor

@dougwaldron
Copy link
Author

Very nice!

My guess is the only thing that would break is if you added an array that mimicked one of the built-in iterators. For example, ["1", "3", "5"] might give unexpected results.

It's odd that the two regexes in the original were different.

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