Hi, I would love to use AI on my commit messages to automatically summarize the latest changes
You can do this by using the @git context provider in cursor’s chat or edit components!
e.g.,
( use whatever prompt you want to direct it more to your liking, of course )
For my future reference, here is the prompt posted:
“Take a deep breath and work on this problem step-by-step. Summarize the provided diff into a clear and concise written commit message. Use the imperative style for the subject, use the imperative style for the body, and limit the subject types to 50 characters or less. Optionally, use a scope, and limit the scope types to 50 characters or less. Be as descriptive as possible, but keep it to a single line. Return a single code block. Ready to be pasted into commit edits without further editing.”
This is GOLD!!!
Would love to see this prefilled into the Source Control view’s commit message, when empty or filled with an AI-generated message, and updated whenever the git staged items change.
+1
The Copilot auto-generate version is in many cases not working well. I use the working state as well sometimes. But this does not differentiate between staged and unstaged changes unfortunately. Often when I have other pending changes I cannot use it.
+1 Having this as a cursor feature would be really great!
+1 to this.
Having recently let Github Copilot expire after moving to Copilot++, I find myself missing the Copilot Commit message suggestions button.
Would love to see Cursor take this on too.
I absolutely miss this feature the most, while evaluating Cursor, and considering moving from Copilot!
More specifically, it would be useful to do this only for the ‘staged’ changes for the commit, like Github Copilot’s extension does.
This would be a nice feature after reviewing all the points of the code review, cursor could produce a nice commit message summarizing the changes.
AI commit messages are now possible (it was integrated into VSCode) by clicking the stars.
But it would be cool if the message were prefilled and updated when:
- the git stage changes, AND
- only when the current commit message is either empty or AI generated (i.e. don’t overwrite a human provided input).
This is not true. The star gets added by Copilot extension. It’s not a part of VS Code itself so the Cursor team will need to add it separately.
+1 to this request
I agree this is a needed feature
This function is required
need this feature too
Any movement here?
This should be quite easy to implement…
I know I can use the @git feature, but this only let’s you add unstaged changes. A shortcut that generates a commit message based on the staged changes would be so great!
Will be very useful this feature
If it could be directly used like with copilot AI generated message it would be awesome. And also being able to add a custom prompt for generating the message would be lit !