2025 年 8 月 13 日,Google 宣布 Gemini CLI 迎来重大更新,与 VS Code 实现更深度的原生集成,带来上下文感知的智能工作流与内置差异对比功能。
Gemini CLI 可直接访问当前打开的文件及选中内容,提供更精准的上下文建议。
代码建议将触发 VS Code 全屏差异对比视图,开发者可在接受前直接修改建议内容。
启用集成只需升级至 Gemini CLI 0.1.20+,在 VS Code 集成终端运行 /ide install 安装插件,并使用 /ide enable 激活功能。
来源:Google for Developers Blog
Googleblog
Google for Developers Blog - News about Web, Mobile, AI and Cloud
Learn how to use the latest Gemini CLI update for deep IDE integration within VS Code, providing intelligent, context-aware suggestions and native in-editor diffing.
via LoopDNS资讯播报 - Telegram Channel