shanraisshan / EmojiCodeSheet

Your first stop for developing emoji keyboards for any platform, using any language.
MIT License
101 stars 41 forks source link

Very small formatting typo #1

Closed csbenz closed 7 years ago

csbenz commented 7 years ago

Here, there is a double space before the comment (after the semi-colon).

Nothing scandalous but caught it while trying to match-replace the data.

By the way, this project is awesome and very handy. I'm currently transforming the data to create a Java enum, here are the regexp values I'm using in case somebody else is interested:

which will yield results of the following format (example with FULL_MOON): FULL_MOON("🌕"), // https://www.emojibase.com/emoji/1f315/fullmoonsymbol

EDIT: modified the 'match' string to take into account the typo and eventual other erratic spacings.

shanraisshan commented 7 years ago

fixed.

BTW this project already contains java enums here 😉

csbenz commented 7 years ago

Are you serious it took me hours to get the result I wanted when it was in an adjacent folder. Anyway, I learned a few tricks I suppose :) Thanks!

shanraisshan commented 7 years ago

You should have check the java folder first 😃 One advice, if you developing for Android check this, Android official docs don't recommend enums.

csbenz commented 7 years ago

Thanks for the info, I didn't know that. The problem is that I need to be able to get a list of all the emojis easily. Would you still recommend using the final static fields and manually calling each of them?