Expose gitCoAuthor setting in settings.json and document it

This commit is contained in:
Alexander Farber
2025-12-11 21:33:03 +01:00
parent 883c6d878c
commit 3b9d38a325
3 changed files with 72 additions and 0 deletions

View File

@@ -306,6 +306,20 @@ Settings are organized into categories. All settings should be placed within the
- **Default:** `1000`
- **Requires restart:** Yes
#### `git`
- **`git.gitCoAuthor.enabled`** (boolean):
- **Description:** Automatically add a Co-authored-by trailer to git commit messages when commits are made through Qwen Code.
- **Default:** `true`
- **`git.gitCoAuthor.name`** (string):
- **Description:** The name to use in the Co-authored-by trailer.
- **Default:** `"Qwen-Coder"`
- **`git.gitCoAuthor.email`** (string):
- **Description:** The email to use in the Co-authored-by trailer.
- **Default:** `"qwen-coder@alibabacloud.com"`
#### `mcp`
- **`mcp.serverCommand`** (string):
@@ -418,6 +432,11 @@ Here is an example of a `settings.json` file with the nested structure, new as o
"callCommand": "bin/call_tool",
"exclude": ["write_file"]
},
"git": {
"gitCoAuthor": {
"enabled": false
}
},
"mcpServers": {
"mainServer": {
"command": "bin/mcp_server.py"