CodeGPT: The VSCode Extension with ChatGPT-Like Functionalities

GPT-3 inside VSCode using the official OpenAI API.

The PyCoach
Geek Culture
Published in
4 min readJan 3, 2023

--

Image made on Canva

I’m not a big fan of VSCode, but I have to admit that it has more useful extensions than the code editors I use on the daily basis.

One of those extensions is CodeGPT. This extension allows us to use GPT-3 inside VSCode through the official OpenAI API. This is something like having ChatGPT in our code editor!

With CodeGPT we can generate code, explain code, refactor code, and more. Let’s see how to set it up and explore all its functionalities.

Setting up CodeGPT on VSCode

To install this extension, we have to open VSCode, go to extensions, and search “Code GPT.” Once we find it, we click on “install”.

Once Code GPT is installed, we have to go to “Settings” and go to “Code GPT” (on macOS go to the menu bar and click on Code, then select “Preferences” to find the “Settings” option).

On settings, we’ll see the following.

--

--

The PyCoach
Geek Culture

My ChatGPT Course - ChatGPT Unleashed: Master GPT-4 & Prompt Engineering: bit.ly/chatgpt-pycoach