コミットメッセージにgitmojiを必ず使ってほしいということがあったのでやり方を調べてたら以下のissueに当たりました。
恐ろしいほどのリアクションがついています。
当のissueの内容はこうです。
I love the new auto generated commit message feature in the VSCode 1.84 release that's just come out.
What I would love to see to make it even better is the ability to customize the style of commit message, for example conventional commits: ci: added yaml build definition or feat: added test controller etc.
Some of our projects at work require conventional commits for example, and given that the underlying tech is just based on prompts I can imagine this being pretty easy to add with a prompt tweak.
It would be even more amazing if you could give it any style by having the option for a custom pre-prompt e.g. "Use conventional commit styling" or "Use relevant emojis at the start of the message".
A suggestion by @digitarald also is that VSCode could be aware of previous commit messages and copy their style too which I think is also a great idea.
Thank you!
先日リリースされたVSCode 1.84の新しいコミットメッセージ自動生成機能が気に入っています。
より良いものにするためにぜひ欲しいのは、コミットメッセージのスタイルをカスタマイズできる機能です。
コミットメッセージのスタイルをカスタマイズできることです。
例えば、ci: yamlのビルド定義を追加しましたとか、feat: テストコントローラを追加しましたとか。私たちの仕事では、従来のコミットが必要なプロジェクトもあります。
を必要とするプロジェクトがあります。
プロンプトを微調整するだけで、かなり簡単に追加できると想像できる。プロンプトに手を加えるだけで、このようなことが簡単にできると想像できます。
カスタムプリプロンプトのオプションがあれば、さらに素晴らしいだろう。
従来のコミットスタイルを使用する"、"メッセージの冒頭に関連する絵文字を使用するまた、@digitaraldの提案によると、VSCodeは以前のコミットメッセージを認識して、そのスタイルをコピーすることができるそうです。
ありがとうございます!
VSCodeのチームはこの問題を認識しているようですが、実装できるのはいつになるか