惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
有赞技术团队
有赞技术团队
宝玉的分享
宝玉的分享
雷峰网
雷峰网
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
大猫的无限游戏
大猫的无限游戏
博客园 - 司徒正美
D
Docker
T
The Blog of Author Tim Ferriss
罗磊的独立博客
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
J
Java Code Geeks
Jina AI
Jina AI
博客园 - 【当耐特】
C
Check Point Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog

Visual Studio Code - Code Editing. Redefined.

Visual Studio Code 1.138 (Insiders) Visual Studio Code 1.137 (Insiders) Visual Studio Code 1.136 (Insiders) Introducing the Agent Host for persistent, portable agent sessions Visual Studio Code 1.135 (Insiders) Visual Studio Code 1.134 (Insiders) Visual Studio Code 1.133 (Insiders) Visual Studio Code 1.132 (Insiders) MAI-Code-1-Flash: early results from real developer workflows Visual Studio Code 1.130 (Insiders) Visual Studio Code 1.131 (Insiders) Visual Studio Code 1.129 (Insiders) How Prompt Tuning Improved GPT-5.5 in VS Code Visual Studio Code 1.127 Visual Studio Code 1.128 Iterating faster with TypeScript 7 Visual Studio Code 1.126 What 50,000 Runs of a 5-Line Eval Taught Us Use your own language model key in VS Code Improving token efficiency for GitHub Copilot in VS Code December 2025 (version 1.108) November 2025 (version 1.107) October 2025 (version 1.106) September 2025 (version 1.105) August 2025 (version 1.104) July 2025 (version 1.103) June 2025 (version 1.102) May 2025 (version 1.101) April 2025 (version 1.100) March 2025 (version 1.99)
Open Source AI Editor: Second Milestone
Microsoft · 2021-11-03 · via Visual Studio Code - Code Editing. Redefined.

November 6th, 2025 by the VS Code Team

In May, we announced our initial plan to make VS Code an open source AI editor, and in June, we reached our first milestone by open sourcing the GitHub Copilot Chat extension.

While chat was a significant step forward, an important part of our AI functionality still remained: the inline suggestions that appear as you type. Today, we're reaching that next milestone in our journey: inline suggestions are now open source.

PR to OSS suggestions

One extension, same user experience

For the past few years, GitHub Copilot in VS Code has been split across two extensions: the GitHub Copilot extension (for ghost text suggestions) and the GitHub Copilot Chat extension (for chat and next edit suggestions). We are working towards providing all Copilot functionality in a single VS Code extension: Copilot Chat.

To achieve this, we are now testing disabling the Copilot extension and serving all inline suggestions from Copilot Chat. We have ported the vast majority of features into the chat extension, so the progressive rollout of a single extension experience should feel consistent and transparent to everyone.

Nothing should change in your experience. You'll continue to get the same intelligent code suggestions as you type, plus all the chat and agent mode features you're already using. If you encounter any problems, please report an issue or see how to use the previous experience if needed.

As part of this refactoring, the GitHub Copilot extension will be deprecated by early 2026, which means it will be removed from the VS Code Marketplace.

We've also simplified our terminology: we now use inline suggestions to refer to all AI-generated code suggestions that appear as you type (including ghost text and next edit suggestions). We continue working to unify the actual product experiences as well, including the UX and timing for different kinds of suggestions.

Explore and contribute

With inline suggestions available in the vscode-copilot-chat repository, you can explore and contribute to how they work:

Flow diagram displaying how inline suggestions work

  1. "Typing-as-suggested" detection - As you type, the extension first checks if you're following a previous suggestion and can continue showing it without making a new request
  2. Caching - If not typing as suggested, the extension checks if cached suggestions can be reused to improve performance
  3. Reusing ongoing requests - If no cached suggestions are available, the extension checks if there's an ongoing LLM request from the previous keystroke that hasn't finished streaming back yet. Since this ongoing request is likely similar to the current request, the extension reuses it instead of firing off a new request and canceling the ongoing one, which significantly improves performance
  4. Prompt construction - If no ongoing request can be reused, the extension gathers relevant context from your current file, open files, and workspace, then formats it into a prompt to send to the LLM
  5. Model inference - The extension requests inline suggestions from multiple providers: ghost text suggestions for the current cursor position, and next edit suggestions that predict where you might edit next. Ghost text suggestions at the cursor are prioritized when available; otherwise, next edit suggestions are used
  6. Post-processing - Raw model outputs are refined to ensure they fit your code style, indentation, and syntax
  7. Multi-line intelligence - The extension decides whether to show a single line or multiple lines, based on confidence and context

Performance improvements

Along with consolidating into a single extension, this refactoring has led to technical improvements to inline suggestions:

  • Reduced latency - We fixed networking issues to optimize how suggestions are delivered, enabling the chat extension to serve ghost text faster
  • Quality validation - We ran extensive experiments to ensure there are no regressions in either latency or suggestion quality

Troubleshooting

As with all changes, despite our best efforts, there is a chance that we missed something! If you encounter any issues with the unified extension experience, you can temporarily revert to the previous two-extension behavior by unchecking the unification setting:

VS Code setting for extension unification

What's next?

The next phase of our OSS journey is to refactor some AI features and components from the Copilot Chat extension into VS Code core. We're excited to continue this journey with the community and shape the future of development as an open source AI editor.

We'll continue actively improving our inline suggestions experiences - as always, you can follow along on our iteration plans for the latest:

Inline suggestions section of the October 2025 VS Code iteration plan

We welcome your feedback and contributions. Feel free to open pull requests and file issues.

Happy coding! 💙

The VS Code Team