Skip to content

JacksDevPlayground/gitmoji-vscode

 
 

Repository files navigation

English | 简体中文

Report Bug · Request Feature

Gitmoji tool for git commit messages in VS Code

💻 Screenshot

📦 Install

  1. Open Visual Studio Code.
  2. Press Ctrl+Shift+X to open the Extensions tab.
  3. Type Gitmoji to find the extension.
  4. Click the Install button, then the Enable button.

🔨 Configuration

Select output type

  • outputType - Configure the type of emoji output as needed. Default is emoji

For emoji type:

emoji

For code type:

code

Sample configuration:

{
  "gitmoji.outputType": "emoji"
}

Notice: If you use Gitlab, type emoji, if you use Github, you can type code or emoji.

Add configurable additionnal emojis

  • additionalEmojis - Add configurable additionnal emojis.

Sample configuration:

{
  "gitmoji.additionalEmojis": [
    {
      "emoji": "🐛",
      "code": ":bug:",
      "description": "Fix a bug.",
      "description_zh_cn": "修复 BUG"
    },
    {
      "emoji": "🚑",
      "code": ":ambulance:",
      "description": "Critical hotfix.",
      "description_zh_cn": "紧急热修复"
    }
  ]
}

Notice: description_zh_cn is a chinese (zh_CN) version of the description. If empty, the english description will be used.

Only use your additionnal emojis

  • onlyUseAdditionalEmojis - Use your additional emojis instead the ones from the extension.

Sample configuration:

{
  "gitmoji.onlyUseAdditionalEmojis": true
}

Search gitmoji by emoji code

  • showEmojiCode - Enable searching gitmojis by emoji code (example: ambulance will return hotfix).

Sample configuration:

{
  "gitmoji.showEmojiCode": true
}

🤝 Contributing

We welcome all contributions. You can submit any ideas as pull requests or as GitHub issues, have a good time! :)

Packages

No packages published

Languages

  • TypeScript 100.0%