git-commit-plugin
git-commit-plugin copied to clipboard
Automatically generate git commit
首选大佬的插件非常好用,只是在配合自动生成changelog的工具时,由于插件会在type前面添加emoji,导致校验时会认为不符合angular的commit规范(规范里的type只是英文单词,不包括表情),就不能生成正常的changelog了。 请问下能否将默认模板的emoji放到type:后面,虽然楼主提供了配置Templates配置项,可以在templateContent中修改的位置,但是多人协作的时候,都要去修改vscode的配置就不太方便了,能否在项目里加个配置文件,优先取文件的配置,再取编辑器的配置,最后取默认配置,谢谢。
实际工作中,需要在中按照模板写入需求/bug相关的自测、步骤等信息,是否可以增加自定义的模板,这样填写的时候填对应项就可以了
husky > commit-msg ⧗ input: 🌈 style: 格式 ✖ 🌈 is not in the correct gitmoji list, please check the emoji code on https://gitmoji.dev/. [start-with-gitmoji] 在 gitmoji 里面 style 的emoji...
Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.1 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `minimatch` from 3.0.4 to 3.1.2 Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d...
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) to 12.3.2 and updates ancestor dependency [vsce](https://github.com/Microsoft/vsce). These dependencies need to be updated together. Updates `markdown-it` from 10.0.0 to 12.3.2 Changelog Sourced from markdown-it's changelog. [12.3.2] - 2022-01-08...
Bumps [qs](https://github.com/ljharb/qs) from 6.10.2 to 6.11.0. Changelog Sourced from qs's changelog. 6.11.0 [New] [Fix] stringify: revert 0e903c0; add commaRoundTrip option (#442) [readme] fix version badge 6.10.5 [Fix] stringify: with arrayFormat:...
建议
建议出一个选项可以将commit内容复制到剪切板,不切换到source control界面。有子模块时候commit信息有时不会填充到正确位置。
 现在暂时点击拷贝手动进行粘贴 我查看扩展宿主日志显示 ``` TypeError: Cannot read properties of undefined (reading 'inputBox') at completeInputMessage (c:\Users\x\.vscode\extensions\redjue.git-commit-plugin-1.4.0\out\extension.js:134:18) at c:\Users\x\.vscode\extensions\redjue.git-commit-plugin-1.4.0\out\extension.js:153:25 ```
It worked fine before, but suddenly it doesn't work anymore. After writing the template and content, no commit message appears