湛卢智能编码助手,融合海量代码库、技术文档、研发知识,为研发人员提供智能、高效的编程支持。可准确理解开发者的意图,将需求转换为高效的代码;已支持AI程序员,具备全栈编程智能体能力,可以快速理解需求、拆解任务,独立规划,自我反思,实现完整编程任务,支持批量单元测试生成、代码重构等项目级代码生成等功能,为企业级代码生成提供智能化解决方案。 兼容 Visual Studio Code、JetBrains IDEs 等主流 IDE; 支持 Java、Python、Go、C/C++/C#、JavaScript、TypeScript、PHP、Ruby、Rust、Scala、Html、Node.js、Css3、Swift、Dart等主流编程语言。 下载 VSIX 安装包 ⇩ Zhanlu_VSCode_latest。 Zhanlu Intelligent Coding Assistant,which integrates massive code repositories, technical documents and R&D knowledge to provide intelligent and efficient programming support for developers. It comprehends the intention of developers accurately, and can transform product requirements and prototype diagrams into efficient code. It supports AI programmers and is equipped with the capabilities of a full-stack programming agent and tool usage. Zhanlu can quickly understand requirements, break down tasks, independently plan, and reflect on its own performance to complete entire programming tasks. It also supports the generation of batch unit tests and code refactoring, among other project-level code generation functions. Additionally, it enables developers to configure MCP tools, ensuring that the coding process integrates seamlessly with their workflow. It provides an intelligent solution for enterprise-level code generation. Supported IDEs: Visual Studio Code, JetBrains IDEs. Supported languages: Java, Python, Go, C/C++/C#, JavaScript, TypeScript, PHP, Ruby, Rust, Scala, Html, Node.js, Css3, Swift, Dart and other programming languages. Download the VSIX ⇩ Zhanlu_VSCode_latest. 快速开始下载湛卢智能编码助手插件之后在首页点击登录,云能内部用户可选择移动云登录使用,若尚未注册,可参考帮助手册进行AK/SK/License注册,注册后方可登录;其他专业公司用户可选择四共登录使用,支持单点登录。详细帮助内容请参考:帮助文档。 Quick StartAfter downloading Zhanlu Intelligent Coding Assistant Plugin, click "Login" on the homepage. Internal users of China Mobile Cloud can log in via China Mobile Cloud. If you haven't registered yet, please refer to the help manual for AK/SK/License registration before logging in; users from other professional companies can choose single sign-on (SSO). For detailed help content, please refer to: Help Documentation. 核心场景代码生成可根据当前代码文件及跨文件的上下文,为您生成行级/函数级代码、单元测试、代码优化建议等。支持项目级别问答,帮您梳理项目代码逻辑、生成项目架构;支持代码评审、commit提交信息生成及readme信息生成,辅助您的研发全流程,让您更专注在技术设计,高效完成编码工作。 行/函数级实时续写在编码的过程中,湛卢可根据上下文和当前语法,自动预测和生成建议代码,按下 Tab 键即可采纳。 自然语言生成代码在编辑器中,通过自然语言描述你想要的功能,根据你的描述和上下文,支持在编辑器区直接生成代码及相关注释。 研发问答拥有海量研发文档、产品文档、通用研发知识等,并结合工程级感知能力,为开发者解决编码过程中遇到的研发问题,协助开发者进行代码问题修复、调试或运行错误的排查等。 单元测试生成湛卢可根据选中的代码片段,结合上下文和跨文件信息,未代码生成单元测试,支持 JUnit、Mockito、Spring Test、unit test、pytest 等框架。 代码优化湛卢可以深度分析代码,根据上下文及跨文件内容,对代码潜在的编码问题进行解析,从简单的语法错误到复杂的性能瓶颈,帮你快速发现问题,并给出优化建议和优化后的代码。 代码注释生成湛卢可对你选中的代码快速生成注释内容,支持方法注释和行间注释。 代码翻译支持一键完成跨语言代码翻译,支持 Java、Python、Go、JavaScript、TypeScript、C/C++、C# 等主流语言,大大节省代码重构时间。 多轮问答遇到编码疑问、技术难题时,一键唤起湛卢,输入问题描述,湛卢可依据上下文内容和跨文件内容进行多轮问答交互,给出流畅的回复。 报错信息一键修复当编译区出现编译错误或运行出现异常报错时,一键启动报错排查的智能答疑,可结合运行代码、异常堆栈等报错上下文,快速给出排查思路或修复建议代码。 AI程序员AI程序员支持从0到1快速生成项目模板和完整需求代码,实现从理解需求、拆解任务、编写代码、保存执行、修改bug的全流程自主编程,支持基于项目全局视角进行代码优化,也可实现批量单元测试生成、不同编程语言迁移重构等项目级代码生成,提升工作效率。 特色模式1、 编程智能体模式:您的编程智能体,可根据您的需求自主生成项目级代码,支持文件编辑及MCP调用,实现完整编程任务。 Core FeaturesCode CompletionBased on the current or cross-file context, it can generate line-level and function-level code, unit tests, code optimization suggestions, and code from diagrams. It supports project-level workspace Q&A, helping you organize project code logic and generate project architecture. Additionally, it supports code review, commit message generation, and README information generation, assisting you throughout the entire development process. It allows you to focus more on technical designs and complete your coding tasks with greater efficiency. Line/Function-Level Real-Time CompletionWhile you code, Zhanlu predicts and suggests the next lines or functions based on context and current syntax; simply press Tab to accept. Natural-Language-to-Code GenerationDescribe the feature you want in plain language right in the editor, and Zhanlu will generate the corresponding code and comments inline, taking your description and surrounding context into account. Ask ModeWith access to a vast repository of technical documentation, product manuals, and general development knowledge, combined with engineering-level perception capabilities, the Ask mode assists developers in resolving coding issues encountered during development. It helps with code problem fixes, debugging, and troubleshooting runtime errors, ensuring a smoother development process. Unit-Test GenerationZhanlu can generate unit tests for any selected code snippet by leveraging full project context (including cross-file information). It supports JUnit, Mockito, Spring Test, unittest, pytest, and other major frameworks. Code OptimizationBy deeply analyzing your code against its surrounding context and the entire codebase, Zhanlu identifies issues ranging from simple syntax errors to complex performance bottlenecks, then provides both optimization suggestions and the refactored code. Comment GenerationInstantly generate method-level or inline comments for any selected code fragment. Cross-Language Code TranslationOne-click translation between mainstream languages—Java, Python, Go, JavaScript, TypeScript, C/C++, C#, and more—accelerates large-scale refactoring efforts. Multi-Turn Q&AWhen you encounter coding questions or technical hurdles, summon Zhanlu with a single shortcut, describe the problem, and engage in a contextual, multi-turn conversation that references both local and cross-file code. Error FixWhen compile-time or runtime errors appear, trigger intelligent diagnostics to receive step-by-step guidance or ready-to-paste fixes that incorporate stack traces and surrounding code context. AI ProgrammerThe AI Programmer supports rapid generation of project templates and complete demand-related code from scratch, enabling the entire programming process autonomously, from understanding requirements, breaking down tasks, writing code, saving and executing, to debugging. It also supports code optimization from a global project perspective, as well as batch generation of unit tests and language migration and refactoring for project-level code generation, thereby enhancing work efficiency. Feature Modes
应用场景1、日常编程工作面向研发人员,提升试试代码补全、智能建议和及时技术问答服务,极大提升编码速度和准确性,优化日常编程工作流程。 2、代码维护与重构通过对软件项目的深入分析,模型能够自动识别代码中的潜在缺陷,提供针对性的重构建议和性能优化方案,保障软件质量和项目长期可维护性。 3、教育与培训针对教育界和企业培训需求,湛卢代码大模型通过实例教学和交互式学习环境,主力新手开发者迅速提升编程技能,为技术人才的培养和储备提供有力支持。 Application Scenarios1、Daily ProgrammingTailored for developers, it delivers real-time code completion, intelligent suggestions, and instant technical Q&A, dramatically accelerating coding speed and accuracy while streamlining daily workflows. 2、Code Maintenance & RefactoringBy deeply analyzing software projects, the model automatically pinpoints potential defects and offers targeted refactoring advice and performance-optimization plans, safeguarding software quality and long-term maintainability. 3、Education & TrainingDesigned for academic institutions and corporate training programs, Zhanlu code model empowers novice developers to rapidly advance their skills through hands-on examples and interactive learning environments, providing robust support for cultivating and expanding the technical talent pool. 帮助文档Help Documentation提交反馈湛卢作为你的智能编码助手,期待着和你一起开启舒适、流畅的编码旅途。如果你在使用湛卢的过程中遇到任何问题,请反馈给我们。 Share FeedbackWith Zhanlu as your coding companion, we wish you a smooth and enjoyable coding journey. Should you encounter any issues or have suggestions for Zhanlu, we warmly invite you to share your Feedback with us . FAQQ: 湛卢支持哪些语言? Which languages does ZhanLu support?A: 湛卢支持C/C++、Java、Python、Go、JavaScript、TypeScript、Rust、PHP、Kotlin、ObjectC等100+主流编程语言。ZhanLu supports 100+ mainstream programming languages including C/C++, Java, Python, Go, JavaScript, TypeScript, Rust, PHP, Kotlin, ObjectC, etc. Q: 是否会上传代码?上传哪些代码? Does ZhanLu upload code? What kind of code is uploaded?A: 正常使用湛卢过程中需要利用正在编写的文件中的上文以及其他相关文件,来推理出接下来的下文。因此确实会需要通过网络将正在编写的代码文件内容传输给模型推理。我们承诺不使用这部分上传的代码做任何积累、分析、加工等后续动作。During normal usage of ZhanLu, it needs to utilize the context from the file being written and other related files to infer the subsequent context. Hence, it does require transmitting the content of the currently edited code file over the network for model inference. We commit not to use the uploaded code for any accumulation, analysis, processing, or subsequent actions. 免责声明在使用湛卢(“我方”)产品及相关服务(以下简称 “本服务”)前,请您务必仔细阅读并理解透彻本《免责声明》。 请您知悉,如果您选择继续使用本服务,意味着您充分知悉并接受以下使用条件: 您知悉并理解,本服务的输出内容及代码,为使用深度合成技术生成的文本信息,我们对其生成内容的准确性、完整性和功能性不做任何保证,并且其生成的内容不代表我们的态度或观点。 您理解并同意,本服务所为您展示的代码只是 “推荐”,若您选择采纳本服务所推荐的代码,应当视为您实际撰写了此代码,您应当是所产生、选择的代码的唯一著作权人。我方不会就本服务所推荐的任何代码承担安全、瑕疵、质量、兼容等任何保证责任,无论是明示或暗示,您有责任确保您生成的代码的安全和质量(无论其是由您完全自主撰写或者是采纳了本服务提出的建议),我们建议您在使用本服务推荐的代码时采取与使用您完全自主编写的代码时相同的预防措施。 您同意并承诺,不会使用本服务进行违反法律的应用开发,如您使用本服务开展特定行业的业务应用(如教育、医疗、银行行业),将同时遵守相关国家规定的用户数据保护法律和内容管理法律。 您确认并同意,我方不会因为本服务或您使用本服务违反上述约定,而需要承担任何责任。 致谢湛卢智能编码助手是基于Roo-Code和Cline开发的,我们深深感谢开源社区的贡献。正是因为站在了巨人的肩膀上,我们才能够打造出这款产品。 我们要特别感谢以下项目对湛卢的重要贡献: 这些项目展示了开源协作的变革力量,我们很荣幸能够在它们的基础上继续构建和创新。 AcknowledgmentsZhanlu Intelligent Coding Assistant is developed based on Roo-Code and Cline. We deeply appreciate the contributions of the open-source community. It is precisely because we stand on the shoulders of giants that we have been able to create this product. We would like to especially thank the following projects for their important contributions to Zhanlu:
These projects demonstrate the transformative power of open-source collaboration, and we are honored to continue building and innovating on their foundation. |