search
HomeTechnology peripheralsAISix excellent ChatGPT extensions for VS Code

You are correct in seeking answers to your programming questions from ChatGPT via web chat. But frequently switching between VS Code and chat can be distracting. Remember, in any task, every millisecond counts.

You can now ask ChatGPT questions directly in VS Code through the ChatGPT extension, which is good news. These extensions cover various programming use cases such as unit testing, debugging, documentation, code explanation, code generation, etc. ChatGPT has a wide range of coding applications.

VS Code 的 六个优秀 ChatGPT 扩展插件

Here are the most convenient ChatGPT extensions you can install in VS Code today.

1. ChatGPT – EasyCode

VS Code 的 六个优秀 ChatGPT 扩展插件

ChatGPT extension EasyCode is an available AI assistant that supports ChatGPT-3.5 and ChatGPT-4 , and provide the option to switch between them. It's easy to set up because there's no need to integrate an OpenAI API key. However, when you have an OpenAI account that includes advanced features from GPT-4, you can choose to add an API key for extended use.

You can also use ChatGPT without an account, although its developers recommend that you register or log in after installation. When looking for help, you can ask ChatGPT questions about parts of your code, or allow it to scan your entire code base for broader applications.

If you need further explanation on a previous question, EasyCode's ChatGPT extension provides a follow-up option. In addition to inline code auto-completion, it also provides built-in prompts for generating responses with a single click.

2. CodeGPT – Tim Kmecl

VS Code 的 六个优秀 ChatGPT 扩展插件

##Tim Kmecl’s CodeGPT extension uses the ChatGPT-3 model. Therefore, it may not be as useful as other extensions using GPT-3.5 and GPT-4. It provides built-in prompts that can generate responses with a single click. If you have a more specific request, you can also write a custom prompt via the chat box.

Although it contains many GPT-3 models, including ChatGPT, text-curie-001, text-davinci-003, code-davinci-002, and code-cushman-002, only text-davinci-003 is The default model to work with this extension. If the extension throws an error, you may want to check your model selection and set it to text-davinci-003 in the extension's settings.

The extension requires an OpenAI API key, which you will set in its settings menu after installation. However, the extension may fail if your free OpenAI credits are exhausted.

3. Code GPT

VS Code 的 六个优秀 ChatGPT 扩展插件

Code GPT is a more comprehensive AI service. While its default AI choice is OpenAI, it also includes ChatGPT alternatives like Cohere, AI21, and Anthropic. In addition to GPT-3.5 and GPT-4, it can also support a variety of other AI models.

To use the Code GPT extension, you need to set up an OpenAI API key. You can set this using built-in commands. So make sure you have enough free credits or a premium plan to use the service. A valuable feature of Code GPT is its ability to take hints from code comments and insert the generated code into a usable code file (using the target programming language).

It has built-in and custom prompts. One minor drawback is that it only allows a maximum of 800 tags per request. Therefore, it can accept less text length than some other providers.

4. ChatGPT Helper

VS Code 的 六个优秀 ChatGPT 扩展插件

ChatGPT Helper is a simple AI assistant. If you just need to quickly solve programming problems, you can Add it to VS Code. The extension is easy to use and is only designed to accept a limited number of built-in prompts.

ChatGPT Helper has been updated to support GPT-3.5 and GPT-4, and has added the option to switch between the two. To gain access to the OpenAI API, after your first prompt after installation, you will be asked to set up an API key.

However, unlike other ChatGPT extensions, it does not have chat functionality. But you can send custom prompts through VS Code's command panel. It writes responses to a separate text file, allowing you to save responses to prompts later.

5. ChatGPT – Genie AI

VS Code 的 六个优秀 ChatGPT 扩展插件

Genie AI’s ChatGPT extension has better aesthetics and adopts a closer user interface and provides built-in prompts. It supports GPT-3, GPT-3.5 and GPT-4. Like many of the previously mentioned ChatGPT extensions, it requires an OpenAI API key.

It also allows you to choose different temperature accuracies that adjust to your needs; you can choose precise, balanced or creative responses. In addition to built-in prompts, you can interact more specifically with ChatGPT through the Genie AI VS Code extension’s chat box.

When using an extension to generate code, you don't need to copy and paste it where you need it. The response is automatically written to the relevant code file, and you can use the response directly from the code base. Additionally, you can save the conversation locally and continue using it next time.

6. ChatGPT VS Code Plugin – Jay Barnes

VS Code 的 六个优秀 ChatGPT 扩展插件

Jay Barnes’s ChatGPT VS Code extension is very convenient if you want it for free Use ChatGPT and it will help you. It operates on a different layer and requires your ChatGPT web session token and user agent rather than your OpenAI API key. Because it enhances your interaction with ChatGPT on the web, it's free.

While it allows you to use ChatGPT for free within VS Code, it is complex to set up and may sometimes experience delays and sporadic glitches. Additionally, you need to reset your access tokens periodically as these expire as the ChatGPT web session expires.

It has a built-in prompt function and can receive custom prompts through the chat menu, similar to other ChatGPT extensions. Overall, this extension doesn’t make it onto our list of what we consider to be the best ChatGPT extensions for VS Code. But it's free and may come in handy when your free credits run out. However, please take care to prevent your session from being hijacked.

Using ChatGPT effectively in VS Code

ChatGPT and other generative AI models have proven to have practical value in our daily lives. Whether we accept them or not, they will continue to exist. If you use these AI tools effectively, they are helpful rather than threatening.

Programming with one of these ChatGPT extensions is no guarantee. To solve programming problems, these AI tools need to be blended with human input and some Internet search skills. You may want to learn how to use ChatGPT in VS Code - to get a practical sense of how these extensions actually work.

The above is the detailed content of Six excellent ChatGPT extensions for VS Code. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
ai合并图层的快捷键是什么ai合并图层的快捷键是什么Jan 07, 2021 am 10:59 AM

ai合并图层的快捷键是“Ctrl+Shift+E”,它的作用是把目前所有处在显示状态的图层合并,在隐藏状态的图层则不作变动。也可以选中要合并的图层,在菜单栏中依次点击“窗口”-“路径查找器”,点击“合并”按钮。

ai橡皮擦擦不掉东西怎么办ai橡皮擦擦不掉东西怎么办Jan 13, 2021 am 10:23 AM

ai橡皮擦擦不掉东西是因为AI是矢量图软件,用橡皮擦不能擦位图的,其解决办法就是用蒙板工具以及钢笔勾好路径再建立蒙板即可实现擦掉东西。

谷歌超强AI超算碾压英伟达A100!TPU v4性能提升10倍,细节首次公开谷歌超强AI超算碾压英伟达A100!TPU v4性能提升10倍,细节首次公开Apr 07, 2023 pm 02:54 PM

虽然谷歌早在2020年,就在自家的数据中心上部署了当时最强的AI芯片——TPU v4。但直到今年的4月4日,谷歌才首次公布了这台AI超算的技术细节。论文地址:https://arxiv.org/abs/2304.01433相比于TPU v3,TPU v4的性能要高出2.1倍,而在整合4096个芯片之后,超算的性能更是提升了10倍。另外,谷歌还声称,自家芯片要比英伟达A100更快、更节能。与A100对打,速度快1.7倍论文中,谷歌表示,对于规模相当的系统,TPU v4可以提供比英伟达A100强1.

ai可以转成psd格式吗ai可以转成psd格式吗Feb 22, 2023 pm 05:56 PM

ai可以转成psd格式。转换方法:1、打开Adobe Illustrator软件,依次点击顶部菜单栏的“文件”-“打开”,选择所需的ai文件;2、点击右侧功能面板中的“图层”,点击三杠图标,在弹出的选项中选择“释放到图层(顺序)”;3、依次点击顶部菜单栏的“文件”-“导出”-“导出为”;4、在弹出的“导出”对话框中,将“保存类型”设置为“PSD格式”,点击“导出”即可;

GPT-4的研究路径没有前途?Yann LeCun给自回归判了死刑GPT-4的研究路径没有前途?Yann LeCun给自回归判了死刑Apr 04, 2023 am 11:55 AM

Yann LeCun 这个观点的确有些大胆。 「从现在起 5 年内,没有哪个头脑正常的人会使用自回归模型。」最近,图灵奖得主 Yann LeCun 给一场辩论做了个特别的开场。而他口中的自回归,正是当前爆红的 GPT 家族模型所依赖的学习范式。当然,被 Yann LeCun 指出问题的不只是自回归模型。在他看来,当前整个的机器学习领域都面临巨大挑战。这场辩论的主题为「Do large language models need sensory grounding for meaning and u

ai顶部属性栏不见了怎么办ai顶部属性栏不见了怎么办Feb 22, 2023 pm 05:27 PM

ai顶部属性栏不见了的解决办法:1、开启Ai新建画布,进入绘图页面;2、在Ai顶部菜单栏中点击“窗口”;3、在系统弹出的窗口菜单页面中点击“控制”,然后开启“控制”窗口即可显示出属性栏。

强化学习再登Nature封面,自动驾驶安全验证新范式大幅减少测试里程强化学习再登Nature封面,自动驾驶安全验证新范式大幅减少测试里程Mar 31, 2023 pm 10:38 PM

引入密集强化学习,用 AI 验证 AI。 自动驾驶汽车 (AV) 技术的快速发展,使得我们正处于交通革命的风口浪尖,其规模是自一个世纪前汽车问世以来从未见过的。自动驾驶技术具有显着提高交通安全性、机动性和可持续性的潜力,因此引起了工业界、政府机构、专业组织和学术机构的共同关注。过去 20 年里,自动驾驶汽车的发展取得了长足的进步,尤其是随着深度学习的出现更是如此。到 2015 年,开始有公司宣布他们将在 2020 之前量产 AV。不过到目前为止,并且没有 level 4 级别的 AV 可以在市场

ai移动不了东西了怎么办ai移动不了东西了怎么办Mar 07, 2023 am 10:03 AM

ai移动不了东西的解决办法:1、打开ai软件,打开空白文档;2、选择矩形工具,在文档中绘制矩形;3、点击选择工具,移动文档中的矩形;4、点击图层按钮,弹出图层面板对话框,解锁图层;5、点击选择工具,移动矩形即可。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools