1 Star 15 Fork 2

Seaton Jiang / gitmoji-vscode

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

English | 简体中文 | Português Brasileiro | Português Europeu | 日本語 | 한국어

报告问题 · 功能需求

VSCode 中用于 Git 提交信息的 Gitmoji 工具

💻 扩展截图

📦 安装扩展

  1. 首先打开 Visual Studio Code
  2. 使用 Ctrl+Shift+X 组合键打开「扩展」标签;
  3. 输入 Gitmoji 寻找此扩展;
  4. 点击 安装 按钮,然后点击 启用 按钮即可。

提示:也可以直接在 Marketplace 中找到 Gitmoji,然后点击 Install 即可。

🔨 配置扩展

表情符号输出类型

  • outputType - 配置表情符号的输出类型(默认为 emoji 模式)。

emoji 模式的例子:

emoji

code 模式的例子:

code

示例配置:

{
  "gitmoji.outputType": "emoji"
}

提示:如果在 Gitlab 或者 Coding 中使用,需要选择「code」模式;如果在 GitHub 中使用,可以随意选择「emoji」或「code」模式。

添加自定义表情符号

  • addCustomEmoji - 添加自定义表情符号。

示例配置:

{
  "gitmoji.addCustomEmoji": [
    {
      "emoji": "🧵",
      "code": ":thread:",
      "description": "添加或更新与多线程或并发相关的代码"
    },
    {
      "emoji": "🦺",
      "code": ":safety_vest:",
      "description": "添加或更新与验证相关的代码"
    }
  ]
}

仅使用自定义表情符号

  • onlyUseCustomEmoji - 仅使用自定义添加的表情符号,而不使用扩展中自带的表情符号(该功能默认关闭)。

示例配置:

{
  "gitmoji.onlyUseCustomEmoji": true
}

通过简码搜索表情符号

  • showEmojiCode - 开启通过简码搜索表情符号功能(该功能默认关闭)。

示例配置:

{
  "gitmoji.showEmojiCode": true
}

在消息最后插入表情符号

  • asSuffix - 开启在消息最后插入标签符号的功能(该功能默认关闭)。

示例配置:

{
  "gitmoji.asSuffix": true
}

🤝 参与共建

我们欢迎所有的贡献,你可以将任何想法作为 Pull requests 或 Issues 提交,顺颂商祺!

📃 开源许可

项目基于 MIT 许可证发布,详细说明请参阅 LICENCE 文件。

The MIT License (MIT) Copyright (c) 2019-2022 Seaton Jiang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

VS Code 中用于提交说明的 Gitmoji 拓展 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/seatonjiang/gitmoji-vscode.git
git@gitee.com:seatonjiang/gitmoji-vscode.git
seatonjiang
gitmoji-vscode
gitmoji-vscode
main

搜索帮助