---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# VS Code 默认将 Copilot 作为共同作者，即使用户只使用行内补全功能。

Source: https://www.zaihua.news/article/41186/

[返回新闻流](https://www.zaihua.news/)
2026年5月3日 · 11:01 · [在花新闻](https://www.zaihua.news/about/)

# VS Code 默认将 Copilot 作为共同作者，即使用户只使用行内补全功能。

在 VS Code 1.110 中，微软引入 git.addAICoAuthor 设置，最初默认值为 off；随后在 1.118 中将默认值改为 all，意味着任意可识别的 Copilot AI 生成代码，包括行内补全、Chat、Agent 编辑，都可能在 Git 提交中加入 Co-authored-by: Copilot。在受到社区争议后，微软又将默认值改为 chatAndAgent，即仅针对 Chat 和 Agent 工作流自动署名，不再覆盖普通行内补全。相关修正预计将在未来的 VS Code 1.119 中发布。

[VS Code 更新日志](https://code.visualstudio.com/updates/v1_118#_copilot-added-as-a-git-coauthor-by-default) | [Github](https://github.com/microsoft/vscode/pull/310226)

🌸 [在花频道](http://t.me/ZaiHuaPd) · [茶馆讨论](https://t.me/zaihuaSpace) · [投稿通道](http://t.me/ZaiHuabot)

[上一条 美国 CAISI 发布 DeepSeek V4 Pro 评估报告，称 DeepSeek V4 Pro 能力落后美](https://www.zaihua.news/article/41185/)[下一条月之暗面、元戎启行考虑调整境外架构，赴港 IPO 面临变数](https://www.zaihua.news/article/41187/)
