Feature request for product/service
Cursor IDE
Describe the request
The Source Control
Generate Commit Message flow currently only picks up the legacy repo-root .cursorrules file.
User Rules, Project Rules (.cursor/rules), ~/.cursor/rules, and AGENTS.md do not affect it. There is also no global per-machine way to configure language or style for this button.
This is painful for non-English teams: we either copy the same .cursorrules into every repo, or manually rewrite English commit messages to Chinese / other languages.
Please consider either (or both) of the following:
Option 1 — Global .cursorrules in the user home directory
Support a machine-wide legacy rules file that also feeds the Generate Commit Message prompt, for example:
~/.cursorrules- or
~/.cursor/.cursorrules/%USERPROFILE%\.cursorruleson Windows
Suggested merge order:
- Global user
.cursorrules(base) - Repo-root
.cursorrules(override / extend)
This would let users set a default like “always generate Simplified Chinese commit messages” once, without polluting every repository or Agent context with a project file that exists only for this button.
Option 2 — Follow Cursor’s configured UI / display language
When generating a commit message, default the output language to Cursor’s configured display / locale language (e.g. Simplified Chinese when the app UI is Chinese), unless the user or repo explicitly overrides it.
Optional enhancement: a dedicated setting such as:
cursor.generateCommitMessage.language = "auto" | "en" | "zh-CN" | ...
where "auto" syncs with Cursor’s language setting.
Why this matters
- Non-English developers want one-click Chinese (or local-language) commit messages
- Copying
.cursorrulesinto every clone is brittle and easy to forget - Repo-root
.cursorrulesalso leaks into Agent context, which is heavier than needed for a single SCM button - Language following the product locale is the least-config path for most users
Current workaround
Put instructions in each repo’s root .cursorrules, optionally exclude it via .git/info/exclude. Works, but does not scale.
Related threads
- Rules for the AI generate commit messages
- Add language and custom-prompt options for SCM “Generate commit message”
Operating System (if it applies)
Windows 10/11