终端之外:Gemini CLI 登陆 Zed
内容来源:https://developers.googleblog.com/en/gemini-cli-is-now-integrated-into-zed/
内容总结:
**摘要:Gemini CLI与Zed编辑器深度整合,AI开发体验再升级**
近日,谷歌旗下可扩展命令行工具Gemini CLI宣布与高性能开源代码编辑器Zed实现深度整合,为开发者带来更流畅、更智能的AI辅助开发体验。此次合作标志着终端工具与集成开发环境(IDE)的强强联合,旨在显著提升开发效率与协作质量。
Gemini CLI自推出以来,凭借其轻量级编排能力和强大的可扩展性,通过支持MCP、Markdown指令、自定义扩展等新兴标准,迅速构建起庞大的社区生态。八周内,社区贡献者已合并超过1000个拉取请求,极大拓宽了Gemini CLI的功能边界,使其成为众多工程体系(包括谷歌内部系统)不可或缺的核心组件。
此次与Zed编辑器的整合,源于Gemini CLI团队内部对Zed高性能表现的认可。通过将Gemini大模型直接嵌入Zed基于Rust的开发环境,开发者现在可以在编辑器内直接体验到与编辑器本身同样快速、响应灵敏的AI服务。这一创新结合实现了多项突破:
- 代码优化与调试: 开发者可直接在Zed中利用AI进行代码重构优化、生成测试用例、查找并修复缺陷,大幅缩短调试周期。
- 代码生成与补全: AI辅助生成代码片段、函数甚至完整类,并提供智能代码补全,提升编码效率。
- 文档与注释: 快速生成代码注释和项目文档,确保代码可读性和可维护性。
- 交互式学习: 结合AI与代码上下文,提供即时学习和问题解答,帮助开发者快速掌握新知识或解决技术难题。
此次整合不仅是功能上的叠加,更代表着一种全新的AI协作模式,让开发者始终掌握主动权:
- 情境感知: AI深度理解当前代码上下文,提供更精准、更具相关性的建议。
- 低延迟交互: AI的响应速度与本地开发体验无缝衔接,几乎没有延迟。
- 私密性与安全性: 处理私有代码时,AI模型仅在本地或经加密传输,确保数据安全。
- 持续学习进化: 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!
文章目录
扫描二维码,在手机上阅读