{"id":20587,"name":"CodeGeeX: AI Coding Assistant","link":"/plugin/20587-codegeex-ai-coding-assistant","approve":false,"xmlId":"ai.codegeex.plugin","description":"<p>CodeGeeX is an AI-based coding assistant. It is powered by a large-scale multilingual code generation model, lots of features including generates and completes code, automatically adds comments, translates code between different programming languages, provides intelligent answers to technical and code-related questions, code explanation, unit test generation, code review, bug fixing and so on.</p>\n\n<p><strong><a>中文介绍</a></strong><br></p>\n\n<h3>What can you do with CodeGeeX？</h3>\n\n<h4>Automated Code Generation</h4>\n<p>CodeGeeX provides autocomplete-style suggestions when you coding. You can receive suggestions with the “Tab” key, either by starting to write the code you want to use.</p>\n\n<h4>Convert comments to code</h4>\n<p>CodeGeeX can gengrate code by writing a natural language comment describing what you want the code to do. Especially for common algorithmic segments, function blocks, or method sections that can be described in a single sentence.</p>\n\n<h4>Automatically adding comments to code</h4>\n\n<p>CodeGeeX can automatically adds comments to code in both Chinese and English.\nSelect the code in the editor, right-click your mouse. From the right-click menu, select \"CodeGeeX\", then click on the submenu \"Add Comment\" to generate the comment.</p>\n\n<h4>Create unit tests</h4>\n\n<p>An important use case of CodeGeeX is to take some of the drudgery out of writing unit tests.\nSelect the code in the editor, right-click your mouse. From the right-click menu, select \"CodeGeeX\", then click on the submenu \"unit tests\" to generate the comment.</p>\n\n<h4>Ask CodeGeeX</h4>\n\n<p>Ask CodeGeeX supports model selection. You can choose between the Pro version model or the Lite version model.</p>\n    \n<p>Click on the CodeGeeX plugin icon to open the CodeGeeX sidebar. Then, click on the \"Ask CodeGeeX\" tab at the top of the sidebar to use.</p>\n\n<p>You can also select code in the editor, right-click with your mouse, choose \"CodeGeeX,\" and then select \"Ask CodeGeeX\" from the submenu to open the sidebar.</p>\n\n<p>In the input box of the sidebar, use \"/\" to bring up preset commands.</p>\n\n\n<table><thead><tr><th>Command</th><th>Feature</th></tr></thead><tbody><tr><td>/explain</td><td>Explain the code selected in the editor. If no code is selected, explain all the code.</td></tr><tr><td>/comment</td><td>Add line-by-line comments for the code selected in the editor. If no code is selected, add comments to all code.</td></tr><tr><td>/fixbug</td><td>Fix the errors in the code selected in the editor. If no code is selected, fix errors in all code.</td></tr><tr><td>/tests</td><td>Generate unit test code for the code selected in the editor. If no code is selected, generate unit tests for all code.</td></tr></tbody></table>\n\n\n<h4>Inline Chat</h4>\n\n<p>InLine Chat is a feature that enables real-time conversations embedded within the code to accomplish programming tasks.\nYou can trigger the InLine Chat feature using the shortcut \"Command + i\" (Mac) or \"Ctrl+Alt+i\" (Windows).</p>\n\n<h4>@Repo  Q<span>&amp;</span>A for open source code repositories. (RAG)</h4>\n\n<p>The @Repo feature allows users to ask questions about open-source code repositories.The enhanced search capability for open-source code repositories supports over 100+ popular repositories, and users can also submit their desired open-source projects for support.</p>\n\n<h4>Explain Code</h4>\n<p>Code explanation is one of the most favorite  features for developers,and CodeGeeX has multiple entry points for convenient use during programming.</p>\n\n<p>Select the code you need to explain in the editing box. At this time, the code will also appear in the AskCodeGeeX dialog box in the sidebar, and a blue hint will appear. Click it to get the explanation of the code. Use the preset command \"/explain\" in the input box, or interact in a natural language manner in the input box to get the code explanation; You can also select the code, click on the floating light bulb, and choose \"Explain with CodeGeeX\". Additionally, you can right-click with the mouse, select \"CodeGeeX\", and choose \"Explain Code\" from the submenu to use it.</p>\n\n<h4>Generate Candidate Questions</h4>\n\n<p>After users pose a question and receive a response, CodeGeeX continues to generate candidate questions for the next step. These recommended candidate questions are highly relevant to the user's initial query or are further predictions of related inquiries.</p>\n\n<h4>Code Review</h4>\n\n<p>Select any modified file and conduct a code change review. This allows for a clear view of the modified code sections and provides optimization suggestions from CodeGeeX.</p>\n\n<h4>Code Interpreter</h4>\n\n<p>Supports file processing, data analysis, chart generation, image processing,and more.</p>\n\n\n<h3>Supported languages, frameworks, and IDEs</h3>\n\n<p>CodeGeeX supports 100+ programming languages and development frameworks, compatible with various mainstream IDE platforms, including VSCode, Visual Studio, JetBrains IDEs, HBuilderX, DeepIn-IDE, and more.</p>\n\n<table><thead><tr><th></th><th></th><th>Supported Languages</th></tr></thead><tbody><tr><td>1</td><td>Frontend</td><td>VUE、JavaScript、TypeScript、HTML、CSS、React</td></tr><tr><td>2</td><td>Backend</td><td>C、C++、Java、Python、Go、PHP、Rust、SQL</td></tr><tr><td>3</td><td>APP dev</td><td>ObjectC、Kotlin、Swift、Uni-App、</td></tr><tr><td>4</td><td>Others</td><td>Peal、Ruby、GraphQL、Cobol</td></tr></tbody></table>\n\n<p>Complete List of Supported：<a href=\"https://github.com/THUDM/CodeGeeX2/blob/main/evaluation/utils.py#L14\">https://github.com/THUDM/CodeGeeX2/blob/main/evaluation/utils.py#L14</a></p>\n\n\n\n<h3>Get started now！Free！</h3>\n\n<p><strong>CodeGeeX is available for free to all developers as a plugin product on your IDEs.</strong></p>\n\n<p><img src=\"https://lfs.aminer.cn/misc/wangshan/pretrain/codegeex_jetbrains/f-platforms.png\" alt=\"image\"></p>\n\n<p>You can search for \"CodeGeeX\" in the VSCode, Visual Studio, JetBrains IDEs, HBuilderX, and Open VSX plugin markets.</p>\n\n<h3>Go to the Official WebSite For More Information</h3>\n\n<p><a href=\"https://codegeex.cn/\">https://codegeex.cn/</a></p>\n\n<h3>Help &amp; Feedback</h3>\n\n<p>Official Email：&lt;codegeex@zhipuai.cn&gt;</p>\n\n<p>You can use <a href=\"https://join.slack.com/t/codegeexworkspace/shared_invite/zt-1s118ffrp-mpKKhQD0tKBmzNZVCyEZLw\">Slack</a> or <a href=\"https://t.me/+IipIayJ32B1jOTg1\">Telegram</a> or <a href=\"https://wj.qq.com/s2/11274205/a15b/\">WeChat/微信群</a>  to give us your feedback or get support. Furthermore, welcome to fill out the <a href=\"https://wj.qq.com/s2/11260705/6cd6/\">survey</a></p>\n\n<p>Submit Feedback</p>\n\n<p><img src=\"https://lfs.aminer.cn/misc/wangshan/pretrain/codegeex_jetbrains/f-feedback.png\" alt=\"image\"></p>\n\n<p><br><br></p>\n\n<h3>使用手册：</h3>\n<p><a href=\"https://zhipu-ai.feishu.cn/wiki/CuvxwUDDqiErQUkFO2Tc4walnZY\">\uD83D\uDCA1 欢迎使用CodeGeeX！</a></p>\n\n<h3>CodeGeeX是什么？</h3>\n\n<p>CodeGeeX是智谱AI旗下一款基于大模型的智能编程助手，它可以实现代码的生成与补全，自动为代码添加注释，不同编程语言的代码间实现互译，针对技术和代码问题的智能问答，当然还包括代码解释，生成单元测试，实现代码审查，修复代码bug等非常丰富的功能。</p>\n\n<h3>你可以用CodeGeeX来做什么？</h3>\n\n<h4>自动生成代码</h4>\n\n<p>在编码过程中，CodeGeeX可以根据上下文代码的内容，推理出接下来可能的代码输入。如果认为推理出的代码内容合适，使用快捷键Tab对生成的代码进行采纳，被采纳的代码即会高亮显示并留存在光标后；如果认为内容不合适，任意键可以取消推荐的内容，继续手动编码。</p>\n\n<h4>根据注释生成代码</h4>\n\n<p>CodeGeeX可以针对一段自然语言的注释内容，生成相关的代码片段 。特别是对于能够使用一句话描述清楚的、常见的算法片段、函数段、方法段等。</p>\n\n<h4>自动为代码添加注释</h4>\n<p>CodeGeeX可以轻松为代码添加中(英)文注释。\n在编辑器中选中代码，点击鼠标右键。在右键菜单中点击“CodeGeeX” ，然后点击下一级菜单“生成注释”即可。</p>\n\n<h4>生成单元测试</h4>\n<p>CodeGeeX可以针对一段函数（ 方法）， 生成其对应的单元测试代码。\n在编辑器中选中代码，点击鼠标右键。在右键菜单中点击“CodeGeeX” ，然后点击下一级菜单“生成单测”即可。也可以通过侧边栏的对话框，输入“/test”，生成其对应的单元测试代码。</p>\n\n<h4>智能问答</h4>\n<p>CodeGeeX的智能问答支持模型选择，你可以选择Pro版模型或者Lite版的模型</p>\n\n<p>点击CodeGeeX插件图标，打开 CodeGeeX 侧边栏，点击侧边栏上方的“Ask CodeGeeX”标签， 即可进入问答模式。</p>\n\n<p>也可以在编辑器中选中代码，通过鼠标点击右键，选择“CodeGeeX”，在下级菜单中选择“向CodeGeeX提问”打开侧边栏。</p>\n\n<p>在侧边栏的智能问答输入框中用“/”调出预置命令：</p>\n\n<table><thead><tr><th>命令</th><th>功能</th></tr></thead><tbody><tr><td>/explain</td><td>解释编辑器中选中的代码。若没有选择代码，则解释全部代码。</td></tr><tr><td>/comment</td><td>为编辑器中选中的代码添加逐行注释。 若没有选中代码， 则对所有代码添加注释。</td></tr><tr><td>/fixbug</td><td>修复编辑器中选中的代码中的错误。若没有选中代码， 则针对所有代码进行修复。</td></tr><tr><td>/tests</td><td>为编辑器中选中的代码生成单元测试代码。若没有选中代码，则针对所有代码生成单元测试。</td></tr></tbody></table>\n\n\n<h4>行内对话编程</h4>\n<p>InLine Chat是一种通过在代码中嵌入对话，与智能编程助手CodeGeeX进行交互的方式。你可以使用“Command + i（Mac）或者 Ctrl+Alt+i （Windows）”的快捷键触发InLine Chat功能。</p>\n\n<h4>@Repo 针对开源代码仓库的智能问答</h4>\n<p>用@Repo 功能对开源代码仓库进行提问，模型会根据检索到的相关背景知识生成回答，大幅减轻生成内容的幻觉性。 开源代码库的检索增强生成功能，目前已经支持超过100+个热门开源代码仓库，用户也可以自行提交希望支持的开源项目。</p>\n\n<h4>代码解释</h4>\n<p>代码解释是开发者非常喜爱的功能之一，CodeGeeX设置了多个入口，在编程过程中可以更加便利的使用。</p>\n\n<p>在编辑框中选中需要解释的代码，这时代码也会在侧边栏AskCodeGeeX的对话框中出现，同时会出现“”的蓝色提示，点击就可以获得代码的解释。\n在输入框中使用预制命令“/explain”，或者在输入框中用自然语言交互的方式获得代码解释；\n也可以选中代码，点击悬浮的灯泡，选择“使用CodeGeeX解释”。还可以点击鼠标右键，选择“CodeGeeX”，在下级菜单中选择“解释代码”来使用。</p>\n\n<h4>预测候选问题</h4>\n<p>CodeGeeX不仅支持预测代码，还支持技术问题的预测。\n在智能问答Ask CodeGeeX中，当用户提出一个问题获得回复后，会继续生成接下来的候选问题。这些推荐给用户的候选问题，是和用户提出的问题相关性很强或者更进一步的问题预测。</p>\n\n<h4>代码审查</h4>\n<p>CodeGeeX提供的Code Review功能，用户可以从源代码文件中，选择任意被修改的文件，然后使用CodeGeeX的代码变更审查。可以直观看出代码修改的部分。也可以看到智能编程助手给代码的优化建议。</p>\n\n\n<h4>工具箱</h4>\n\n<p>支持文件处理、数据分析、图表生成、图像处理；</p>\n\n<h3>支持的语言、框架和IDEs</h3>\n<p>CodeGeeX支持100+种编程语言及开发框架，适配多种主流IDE平台，包括VSCode，JetBrains IDEs，HBuilderX，DeepIn-IDE等。</p>\n\n<table><thead><tr><th></th><th>分类</th><th>支持的语言</th></tr></thead><tbody><tr><td>1</td><td>前端</td><td>VUE、JavaScript、TypeScript、HTML、CSS、React</td></tr><tr><td>2</td><td>后端</td><td>C、C++、Java、Python、Go、PHP、Rust、SQL</td></tr><tr><td>3</td><td>APP端</td><td>ObjectC、Kotlin、Swift、Uni-App、</td></tr><tr><td>4</td><td>其他</td><td>Peal、Ruby、GraphQL、Cobol</td></tr></tbody></table>\n\n<p>支持语言的完整列表：<a href=\"https://github.com/THUDM/CodeGeeX2/blob/main/evaluation/utils.py#L14\">https://github.com/THUDM/CodeGeeX2/blob/main/evaluation/utils.py#L14</a></p>\n\n\n\n<h3>即刻开始免费使用CodeGeeX</h3>\n\n<p><strong>CodeGeeX在主流IDE平台，以插件产品的形态提供给所有开发者免费使用。</strong></p>\n\n<p><img src=\"https://lfs.aminer.cn/misc/wangshan/pretrain/codegeex_jetbrains/f-platforms.png\" alt=\"image\"></p>\n\n<p>在 VSCode 和 JetBrains IDEs 、HBuilderX、Open VSX插件市场搜索“<strong>CodeGeeX</strong>”即可；</p>\n\n<h3>前往官网获取更多信息</h3>\n\n<p><a href=\"https://codegeex.cn/\">https://codegeex.cn/</a></p>\n\n<h3>帮助与反馈</h3>\n\n<p>微信公众号&amp;用户群</p>\n\n<p><img src=\"https://lfs.aminer.cn/misc/wangshan/pretrain/codegeex_jetbrains/f-wechat-1.jpeg\" alt=\"image\"></p>\n\n<p><img src=\"https://lfs.aminer.cn/misc/wangshan/pretrain/codegeex_jetbrains/f-wechat-2.jpeg\" alt=\"image\"></p>\n\n<p>官方邮箱：&lt;codegeex@zhipuai.cn&gt;</p>\n\n<p>提交反馈</p>\n\n<p><img src=\"https://lfs.aminer.cn/misc/wangshan/pretrain/codegeex_jetbrains/f-feedback.png\" alt=\"image\"></p>","customIdeList":true,"preview":"CodeGeeX is an AI-based coding assistant. It is powered by a large-scale multilingual code generation model, lots of features including generates and completes code...","cdate":1765426803000,"family":"intellij","downloads":1042694,"vendor":{"type":"Organization","id":8155,"name":"0cc37650-9941-4284-835e-013001eec46a","url":"https://codegeex.cn","link":"/vendor/0cc37650-9941-4284-835e-013001eec46a","publicName":"Zhipu.ai","email":"pretrain@aminer.cn","showEmail":true,"countryCode":"CN","country":"China Mainland","isVerified":true,"isTrader":true,"details":{"city":"Beijing","address":"10th Floor, Building 9, No.1 Courtyard, Zhongguancun East Road, Haidian District, Beijing","state":null,"zip":null,"phone":"08601082152508"},"marketplaceVendorId":8155},"urls":{"url":"","forumUrl":"","licenseUrl":"https://www.apache.org/licenses/LICENSE-2.0","privacyPolicyUrl":"","bugtrackerUrl":"","docUrl":"","sourceCodeUrl":"https://github.com/THUDM/CodeGeeX4"},"tags":[{"id":102,"name":"Cloud","privileged":false,"searchable":true,"link":"/tag/102-cloud"},{"id":89,"name":"Code Editing","privileged":false,"searchable":true,"link":"/tag/89-code-editing"},{"id":176,"name":"Code Quality","privileged":false,"searchable":true,"link":"/tag/176-code-quality"},{"id":15,"name":"Code Tools","privileged":false,"searchable":true,"link":"/tag/15-code-tools"},{"id":168,"name":"Completion","privileged":false,"searchable":true,"link":"/tag/168-completion"},{"id":244,"name":"Education","privileged":false,"searchable":true,"link":"/tag/244-education"},{"id":104,"name":"Miscellaneous","privileged":false,"searchable":true,"link":"/tag/104-miscellaneous"},{"id":204,"name":"Productivity","privileged":false,"searchable":true,"link":"/tag/204-productivity"},{"id":51,"name":"Refactoring","privileged":false,"searchable":true,"link":"/tag/51-refactoring"},{"id":251,"name":"Search and Replace","privileged":false,"searchable":true,"link":"/tag/251-search-and-replace"}],"hasUnapprovedUpdate":false,"pricingModel":"FREE","screens":[{"url":"/files/20587/screenshot_f71abada-9720-42f0-bd86-4c240d4e374a"},{"url":"/files/20587/screenshot_75d189db-604d-40cd-a238-89a8affc11b6"},{"url":"/files/20587/screenshot_4055c241-d024-4104-8bb6-2f5b2a43656a"},{"url":"/files/20587/screenshot_01a7583a-c743-4107-a481-4b1300923211"},{"url":"/files/20587/screenshot_67d88bff-df68-4e87-9bd3-3d76a5a5ceae"}],"icon":"/files/20587/910732/icon/default.svg","semverOnly":true,"isHidden":false,"isMonetizationAvailable":true,"isBlocked":false,"isModificationAllowed":false,"preserveUIEdits":false}