Jhechtmoji is a configurable Git Emoji package. It shits with a default setup of Emoji Commit Messages, but can set to use any emoji. This makes Jhechtmoji an ideal extension for teams that want to use a standard Emoji Map between them, without needing to make their own extension or be limited by other similar extensions.
This extension aims to keep things simple. As such, unlike other Git extensions, Jhechtmoji doesn't reinvent the wheel – it uses the API exposed by the VSCode Git extension, along with some simple configuration and minimal UI.
This extension requires node-emoji to convert from emoji shortcodes to their unicode values.
Jhechtmoji utilizes two user settings
jhechtmoji.convertToUnicode is set to
true by default; this means that each time you use the
jhechtmoji.commit command it will turn the shortcode, e.g.
:tada: and replace it with the unicode value instead, 🎉 in this case.
jhechtmoji.emojiMap is a map of
"[Descriptor of emoji]": ":emoji_shortcode:" values. This value can be updated to reflect your personal use of Emojis in Git, or to reflect a standardized Git Emoji setup between a development team.
Jhechtmoji also adds in one keybinding:
ctrl+shift+c, with a
when condition of
!terminalFocus. This is done because I know on some Linux installations (Ubuntu for sure),
ctrl+shift+c is the keybinding for Copy inside the terminal.
- In repositories with submodules the extension is currently unable to highlight the correct input box after selecting a message type. The UI has been updated, but unfortunately
there is not a way to fix this issue at this time.
- Modified the extension to work a bit better with repositories containing submodules
- Updated README file for clarity.
- Added in known issues.
- Added in default keybinding for the Jhechtmoji Commit Command
- Added in CONTRIBUTING.md
Initial release of Jhechtmoji.