Repository navigation
Configuration
Mohammad Amanalikhani edited this page Sep 3, 2026
·
2 revisions
All settings are under gitCommitMessageEditor in VS Code's Settings (Ctrl+,).
| Setting | Default | Description |
|---|---|---|
types |
[] |
Allowed values for the Type field |
scopes |
[] |
Saved scopes |
autoFillSignedOffBy |
false |
Auto-fill from git config
|
autoGitmoji |
false |
Auto-select emoji matching the Type |
enableStatusBar |
false |
Show status in VS Code status bar |
detectIssueFromBranch |
true |
Detect issue numbers from branch names |
maxSubjectLength |
72 |
Maximum subject length |
maxLineLength |
100 |
Maximum line length in body |
rememberFrequentValues |
true |
Show frequent values as chips (deprecated) |
rememberFrequentTypes |
true |
Show frequent Type values as chips |
rememberFrequentScopes |
true |
Show frequent Scope values as chips |
showRecentCommits |
true |
Show recent commits in the preview pane |
recentCommitsMaxItems |
12 |
Maximum recent commits to display |
emojiPrefix |
false |
Prefix message with Gitmoji by default |
keepAfterSave |
true |
Keep editor tab open after Insert |
autoApplyGitEditor |
true |
Auto-apply message to SCM on Git Editor save |
defaultEditorMode |
"form" |
Default editor mode ("form" or "freeform") |
scmTitleCommand |
"open" |
SCM title command ("open" or "openAsGitEditor") |
language |
"auto" |
UI language ("auto", "en", "fa") |
Place a .commit-message-editor.json (or .yaml/.yml) file in your repository root to share settings with your team.
{
"name": "Backend team convention",
"types": ["feat", "fix", "chore"],
"scopes": ["api", "auth", "db"],
"maxSubjectLength": 60,
"autoFillSignedOffBy": true,
"detectIssueFromBranch": true,
"template": {
"template": ["{type}{scope}{subject}", "", "{body}"],
"tokens": [
{
"label": "Type",
"name": "type",
"type": "enum",
"required": true,
"options": [
{ "label": "feat", "description": "New feature" },
{ "label": "fix", "description": "Bug fix" }
]
}
]
}
}-
types– overrides the allowed type list -
scopes– pre-defined scopes -
maxSubjectLength,maxLineLength -
autoFillSignedOffBy,detectIssueFromBranch emojiPrefix-
Full custom
template– when present, completely replaces the current template
This project is licensed under the MIT License – see the LICENSE file for details.
Contributions are welcome!
- Report bugs or request features via GitHub Issues
- Submit pull requests to the main repository
Please make sure your code passes the existing TypeScript checks and follows the project's code style.
- Maintainer: Mohammad Amanalikhani
- GitHub: idmdakhi
- Email: md.akhi.ir@gmail.com
For quick questions, you can also open a discussion in the GitHub Discussions (if enabled) or create an issue.
This extension was built using the following open-source tools and libraries:
- TypeScript – type-safe JavaScript
- esbuild – fast bundler
- VS Code API – extension framework
-
YAML – for parsing
.commit-message-editor.yamlfiles
Special thanks to the developers of the original three extensions that inspired this project:
- phoihos for the IntelliSense concepts
- Bandra for the configurable form approach
- (Add any other relevant contributors here)
Current version: 1.0.0
See the CHANGELOG for release history.