冲破命令行:双子星 CLI 进驻 Zed
内容来源:https://developers.googleblog.com/en/gemini-cli-is-now-integrated-into-zed/
内容总结:
Gemini CLI 与 Zed 深度融合:AI 编程新范式开启
北京,[插入日期] – 备受瞩目的AI命令行工具Gemini CLI近日宣布与高性能开源代码编辑器Zed实现深度整合,标志着AI辅助编程领域迈出重要一步。此次强强联合,将Gemini的强大AI能力直接植入到Zed的Rust开发环境中,为全球开发者带来前所未有的流畅、高效的编程体验。
自发布以来,Gemini CLI以其天生的可扩展性赢得了开发者的广泛青睐。得益于对MCP、Markdown指令、主题、自定义扩展、工具及Open Telemetry等新兴标准的支持,Gemini CLI被设计为一个轻量级的编排器,能够轻松集成各类工具链。短短八周内,社区贡献呈爆炸式增长,合并了逾1000个拉取请求,极大拓展了Gemini CLI的功能边界。伴随日益壮大的扩展生态系统,Gemini CLI正迅速成为包括谷歌自身在内诸多工程系统中的核心组件。
此次与Zed的合作,是Gemini CLI寻求与开发者喜爱的工具深度融合的又一成功案例。据了解,Zed作为一款高性能的开源代码编辑器,其超凡的响应速度和用户体验在Gemini CLI团队内部已广受欢迎。正是基于这种默契,双方团队积极探索合作,最终促成了此次深度集成。
集成的核心在于将Gemini的AI模型直接引入Zed的Rust开发环境。这意味着开发者现在能够在一个如同编辑器本身般快速、响应的AI辅助编程体验中,高效地处理各类开发任务。具体而言,此次集成将终端(CLI)与集成开发环境(IDE)这两大开发者利器完美结合,赋能用户以更高的速度和精度完成常见操作,例如:
- 即时获取上下文相关的代码补全和建议。
- 直接在编辑器内生成多语言文档和注释。
- 无需切换界面即可进行代码重构和优化。
- 通过自然语言描述快速修复代码中的错误。
更重要的是,此次集成不仅仅是功能的叠加,它提供了一种全新的与AI智能体协作的工作流。在这种模式下,开发者始终处于主导地位,AI作为强大的助手,提供支持而非取代:
- 始终保持对AI建议的最终控制权。
- 利用AI辅助进行探索性编程,激发创新灵感。
- 深度定制AI的交互方式,使其更符合个人习惯。
- 在一个统一的环境中完成从代码编写到AI交互的所有操作。
此次Gemini CLI与Zed的里程碑式合作无疑将重新定义AI辅助编程的未来。开发者可前往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!