你的代码编辑器。由 AI 重新定义。

选择适合你的模型
选择最适合你的项目和团队的模型,包括 GPT 4o 和 Claude Sonnet。


你代码库的专家
Copilot 在本地为你的代码库建立索引,以了解相关内容,并将该上下文补充到与 Copilot 的交互中。


根据你的需求个性化定制
Copilot 以你习惯的方式工作。使用有关你团队的工作流程、工具和项目的详细信息自定义 Copilot 的提示。


多文件编辑
用自然语言描述你想要构建的内容,Copilot Edits 会处理剩下的事情。Copilot Edits 可以在你的代码库中的多个文件之间进行更改,其 UI 专为快速迭代而设计。这是为你的应用程序添加新功能的最快方式。
使用 Copilot Edits 构建![VS Code window showing a code editor with projects.tsx open, alongside a Copilot Edits panel. The chat discusses modifications to make each project a link and add dynamic pages. Two files, projects.tsx and [slug].tsx, are in the working set, with GitHub Copilot suggesting edits.](/assets/home/swimlane-chat-dark.webp)
![VS Code window showing a code editor with projects.tsx open, alongside a Copilot Edits panel. The chat discusses modifications to make each project a link and add dynamic pages. Two files, projects.tsx and [slug].tsx, are in the working set, with GitHub Copilot suggesting edits.](/assets/home/swimlane-chat-light.webp)
代码建议
Copilot 通过“下一步编辑建议”预测你的下一个想法。使用 Tab 键在编辑器中直接接受 AI 驱动的建议。“下一步编辑建议”会根据你正在进行的编辑智能地建议在文件中的何处以及进行哪些更改。
与 Copilot 结对编程

通过扩展进行编码
扩展使你可以使用安全地基于你团队的数据和工作流程的 AI 驱动功能来自定义 VS Code 和 Copilot。从库中获取一个扩展并将其添加到聊天中,例如 @azure,或者构建你自己的 Copilot 扩展,以增强你团队的独特场景。
使用任何语言进行编码
VS Code 支持几乎所有主要的编程语言。一些语言(如 JavaScript、TypeScript、CSS 和 HTML)已内置在其中,但其他语言的扩展可以在 VS Code 市场中找到。

JavaScript

TypeScript

Python

C#

C++

HTML

Java

JSON

PHP

Markdown

Powershell

YAML
随时随地编码
无论你连接到云、远程存储库还是在浏览器中使用 VS Code for the Web (vscode.dev),都可以在你最高效的地方进行编码。
内置源代码控制为你提供开箱即用的 Git 支持。许多其他源代码控制提供程序可通过扩展获得。
GitHub Codespaces 为任何活动提供云驱动的开发环境 - 无论是长期项目,还是像审查拉取请求这样的短期任务。


使用丰富的功能进行编码
编辑器的功能远不止这些。无论是使用内置功能还是丰富的扩展,总有适合每个人的功能。