vivaxy / vscode-conventional-commits

💬Conventional Commits for VSCode.
https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits
MIT License
320 stars 35 forks source link

[BUG] gitmoji ":technologist:" is not rendered using emoji. #339

Open mikebronner opened 4 months ago

mikebronner commented 4 months ago

Describe the bug

It appears that the :technologist: gitmoji is not working correctly when selecting gitmoji rendering using code. (This does work as expected when using emoji rendering.)

Screenshot 2024-05-20 at 14 00 57

To reproduce

Create a commit using the "Improve developer experience" gitmoji.

Expected behavior

I would expect it to render as shown in the gitmoji selection preview when creating the commit.

Screenshot 2024-05-20 at 14 02 33

Application logs

[info] Extension Activated
[info] vscode.env.language: en
[info] last used version: 1.25.0
[info] Conventional commits started.
[info] VSCode version: 1.89.1
[info] Git version: 1.0.0
[info] VSCode Conventional Commits version: 1.25.0
[info] conventionalCommits.autoCommit: true
[info] conventionalCommits.silentAutoCommit: false
[info] conventionalCommits.emojiFormat: code
[info] conventionalCommits.gitmoji: true
[info] conventionalCommits.lineBreak: 
[info] conventionalCommits.promptBody: true
[info] conventionalCommits.promptCI: false
[info] conventionalCommits.promptFooter: true
[info] conventionalCommits.promptScopes: true
[info] conventionalCommits.scopes: 
[info] conventionalCommits.showEditor: false
[info] conventionalCommits.showNewVersionNotes: true
[info] conventionalCommits.editor.keepAfterSave: false
[info] git.enableSmartCommit: true
[info] git.smartCommitChanges: all
[info] git.postCommitCommand: none
[info] _arg: /var/www/html
[info] git.repositories: /var/www/html
[info] workspaceFolders: /var/www/html
[info] Load commitlint configuration successfully.
[info] commitlintRuleConfigs:
{}
kevinah95 commented 1 month ago

This issue is not related to this project.

The issue is related to vscode-git-graph extension mhutchie/vscode-git-graph#738.

Solved by adding this on settings.json. "git-graph.customEmojiShortcodeMappings": [{"shortcode": ":technologist:", "emoji": "🧑‍💻"}]

Please, close it.