Replies: 1 comment 1 reply
-
|
I want this mainly to auto add the ticket number from the branch, but having shorter more concise messages would be nice too |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I implemented it in my local fork as follows:
I added the
Commit Message Promptoption to the AI session, and clicking theEditbutton opens a tab with a new file for customizing the prompt message~/.config/zed/commit_prompt.txt.When I save the txt file, a configuration is created in settings.json, like this:
This way, clicking
Generate Commit Messagewill use our custom prompt.It's working really well for me because I don't like the default prompt and I always needed to edit the generated message.
If this is acceptable, I can make a PR.
Beta Was this translation helpful? Give feedback.
All reactions