终端之外:Gemini CLI 落户 Zed
内容来源:https://developers.googleblog.com/en/gemini-cli-is-now-integrated-into-zed/
内容总结:
谷歌Gemini CLI深度整合文本编辑器Zed,AI开发体验再升级
北京,xxxx年xx月xx日—— 谷歌旗下备受关注的Gemini命令行工具(CLI)近日迎来重大进展,正式宣布与高性能开源代码编辑器Zed实现深度集成。这一合作将谷歌强大的Gemini AI模型直接引入Zed基于Rust的开发环境,旨在为开发者提供前所未有的AI辅助编程体验,并进一步巩固Gemini CLI作为工程系统核心工具的地位。
自发布以来,Gemini CLI凭借其轻量级编排能力和可扩展特性,迅速获得了开发者社区的广泛支持。数据显示,在短短八周内,社区已为Gemini CLI贡献并合并了上千个拉取请求(PR),极大地丰富了其功能。其基于MCP(多通道协议)等新兴标准的设计,以及对Markdown指令、自定义扩展、Open Telemetry等支持,使其能够轻松与各类工具链集成,甚至成为谷歌内部重要工程系统不可或缺的一部分。
此次与Zed的集成,被视为Gemini CLI发展历程中的一个重要里程碑。据了解,Zed作为一款高性能开源代码编辑器,在Gemini CLI开发团队内部已拥有大量拥趸。双方的合作顺理成章,旨在将两款核心工具——命令行终端和集成开发环境(IDE)——有机结合,从而显著提升开发者的工作效率和精确度。
集成后的核心亮点包括:
- 实时问题修复与代码审查: 开发者在代码报错时,可直接向Gemini寻求解决方案,或利用其进行代码审查,优化代码质量。
- 智能代码生成与重构: Gemini能够根据上下文生成建议代码,甚至帮助开发者进行代码重构,提升开发效率。
- 交互式API探索: 在无需离开编辑器的情况下,开发者可利用Gemini快速探索和理解API文档。
- 项目概览与文件摘要: Gemini能快速生成项目文件摘要,帮助开发者快速掌握项目全貌。
此次集成不仅是功能层面的叠加,更代表了一种全新的AI协作模式。通过将AI能力融入开发者日常工作流,Gemini CLI与Zed的结合确保开发者始终处于主导地位,享受无缝、高效且可定制的AI辅助体验。
谷歌方面表示,Gemini CLI始终致力于与开发者喜爱的工具集成,而Zed无疑是理想之选。此次合作将极大地赋能开发者,共同构建更为智能和高效的软件系统。Gemini CLI项目将继续保持开源,并欢迎全球开发者通过GitHub平台参与贡献,共同推动项目的进步。
英文原文:
Gemini CLI was built to be extensible by default through emerging standards like MCP, markdown-based instructions, color themes, custom extensions, custom tools, custom configurations, and Open Telemetry. Because we built Gemini CLI as a lightweight orchestrator capable of integrating with any toolchain, the number of community contributions, integrations, and extensions has exploded. In fact, in the eight weeks since Gemini CLI launched, the community has merged 1K pull requests expanding Gemini CLI’s capabilities. Combined with a growing ecosystem of extensions, Gemini CLI is quickly becoming the critical part of many engineering systems – including Google’s own.
We're always looking to integrate with tools developers love, and Zed is a natural fit. Because Zed's high-performance, open source code editor is already a popular choice within the Gemini CLI team, we reached out to the creators to explore a deeper collaboration. Starting today, Gemini CLI is integrated with Zed, bringing Gemini's models directly into Zed’s Rust-based environment. Developers can now tap into an AI experience that’s as fast and responsive as the editor itself.
The integration marries two essential tools – the terminal and IDE – to help you tackle common tasks with speed and precision. For example, you can:
Of course, this integration is about more than just features; it's a better way to collaborate with an AI agent. This new workflow keeps you in the driver’s seat. Here’s what makes it special:
We’re delighted to announce this collaboration together. Read the mirror announcement on the Zed blog.
It’s easy to get started with Gemini CLI and Zed. We're excited to see what you build. As always, Gemini CLI is open source. Join us on GitHub where you can ask for help, inspect our source code, raise issues, and contribute code to make the project better for everyone.
Happy coding!