Snippets to insert escaped Emoji code into a variety of languages, including:
Note Github supports emojis out of the box (e.g. :wave:
), so there is no need to paste Unicode characters.
This package is also available for Sublime Text and Visual Studio Code.
Screenshot of completions in Atom with one-light-ui
Install emoji-code
from Atom's Package Manager or the command-line equivalent:
$ apm install emoji-code
Change to your Atom packages directory:
# Windows$ cd %USERPROFILE%\.atom\packages# Linux & macOS$ cd ~/.atom/packages/
Clone repository as emoji-code
:
$ git clone https://github.com/idleberg/atom-emoji-code emoji-code
Inside the cloned directory, install Node dependencies:
$ yarn || npm install
All emojis are prefixed with ji
, following the string of the official Unicode terminology.
Examples:
Let's say, you want to insert the 😄 emoji
ji:grinning-face
becomes 😀
ji:grinning-face
becomes content: '\1F600';
ji:grinning-face
becomes \u{1F600}
ji:grinning-face
becomes \U0001F600
ji:grinning-face
becomes \u{1F600}
Keep in mind that Atom supports fuzzy completion, inviting you to use abbreviation of your preference.
This work is licensed under the The MIT License.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.