Code GPT: your coding sidekick!
Get Code Suggestions in real-time, right in your text editor using the official OpenAI API or others AI providers. To learn more, visit codegpt.co
👈 and read the installation instructions
Big News 🚨
CodeGPT now features integration with the ChatGPT API and the Google PaLM 2 API. Experience the power of state-of-the-art language models like gpt-3.5-turbo, gpt-3.5-turbo-16k, gpt-4, gpt-4-32k, and chat-bison-001.
Important:
Find tips and share your experience in our communities:
CodeGPT Chat
Open the chat with the option in the menu and start chatting with your code 💬 Check all the documentation here: CodeGPT Chat

If you have any questions or problems you can ask in the communities or create an issue in this link:
Report an Issue
Examples
- Write a comment asking for a specific code
- Press
cmd + shift + i
- Use the code 😎

Select the code and then click on Refactor CodeGPT

Ask StackOverflow
This functionality allows you to get questions from Stackoverflow and compare the best human answer 🧠 with the answer from an artificial intelligence 🤖

Create a README.md with Ask CodeGPT

Select the code and then click on Explain CodeGPT

Features
CodeGPT Chat
: Open a chat interface with the icon in the extensions bar
Get Code
: Create a comment asking for a specific code and CodeGPT will open a new Editor with the code (You don't need to write the code language. CodeGPT will detect it automatically).
Ask CodeGPT
: CodeGPT will open a new Editor and respond the question.
Ask CodeGPT - code selected
: Select the code and ask a question, CodeGPT will open a new Editor and respond the question.
Compile & Run CodeGPT
: CodeGPT will compile and run your selected code.
Ask StackOverflow
: Search for a question using the Stackoverflow API and Code GPT will show the best human answer and then the AI answer.
Explain CodeGPT
: CodeGPT will open the chat section and explain the selected code.
Refactor CodeGPT
: CodeGPT will open the chat section and refactor the selected code.
Document CodeGPT
: CodeGPT will open the chat section and document the selected code.
Find Problems CodeGPT
: CodeGPT will open the chat section and find any issue in the selected code.
Unit Test CodeGPT
: CodeGPT will open the chat section and create unit tests of the selected code.
Store your API Key securely
Set API KEY
: To save your API KEY securely.
Remove API KEY
: To remove your API KEY.
IMPORTANT!
Other extensions store the API Key in Settings. DO NOT SAVE SENSITIVE INFORMATION IN SETTINGS. We care about the security of your data
Code GPT extension is FREE but the APIs of artificial intelligence providers that it consumes can be PAID for. Please carefully review the installation instructions at https://docs.codegpt.co/docs/intro
Installation
Go to Settings > Extensions > CodeGPT
Complete the following information:
Updates v2.1.26
- New Ollama model: codellama:13B
- Fix agents from CodeGPT Plus
Updates v2.1.25
Updates v2.1.24
- New Ollama Models: Mistral:7B
Updates v2.1.23
- Fix Google Makersuite api request: { content: 'NEXT REQUEST' }
Updates v2.1.22
Updates v2.1.21
Updates v2.1.20
- CodeGPT Plus login
- CodeGPT AI Agents
Updates v2.1.18
- New AI Provider: Ollama
- New Ollama Models: Llama 2, CodeLlama, Phind-CodeLlama, Wizardcoder, Falcon
Updates v2.1.15
- New AI Provider: Microsoft Azure
- New Anthropic Model: Claude 2
Updates v2.1.13
- New AI Provider: Google PaLM 2
- New Google PaLM 2 Model: chat-bison-001
- New GPT4All Model: replit-code-v1-3b
- Fix function clearChat
Updates v2.1.12
- New OpenAI Model: gpt-3.5-turbo-16k
Updates v2.1.11
- New AI Provider: Huggingface
- New models: flan-t5-xxl, starchat-beta, falcon-7b-instruct
- Judini connection improvements
Updates v2.1.10
Updates v2.1.9
- New AI Provider: GPT4All
- Added OpenAI Organization ID
- Open a new tab with the chat code
- You don't need to reload the window when changing the settings
Updates v2.1.8
Updates v2.1.7
- OpenAI API Error messages
- New Anthropic models with 100.000 tokens
Updates v2.1.6
- Show the code language in markdown
- Move the chat code to the editor
- Integration with promptlayer (beta)
- Code Commit (beta)
- Copy entire chat message
- Information button about new updates
Updates v2.1.5
- Open the chat with Ask CodeGPT
- Timeout with OpenAI API fixed
Updates v2.1.4
- New AI Provider: Anthropic
- Scroll down fixed
- Stop responding button
- Fix close sidebar provider
Updates v2.1.3
- Explain, Refactor, Document, Find Problems & Unit Test work with CodeGPT Chat
Updates v2.1.2
- Chat start template
- Chat completion fixed
- VSCode Theme Support
Updates v2.1.1
- Keeps the conversation history if you switch tabs
- Button to clear the conversation
Updates v2.0.4
- Write letter by letter with "Stream"
- Button to copy the code to clipboard
Updates v2.0.3
- Use the chat with selected code
Updates v2.0.2
- GPT 4
- OpenAI API Error message
Updates v2.0.1
- CodeGPT Chat
- API ChatGPT: gpt-3.5-turbo and gpt-3.5-turbo-0301
- New AI Provider: AI21
- New design with the VSCode interface
Updates v1.0.15
- Interface improvement
- Better prompts to improve the response
- New feature: Search API (beta)
- Fix Terraform files
Updates v1.0.14
- New AI Provider: Cohere
- API Error handler
- Added webview to Explain and Document command
- Added Terraform, swift, shellscript language detection
Updates v1.0.13
- Supports VSCode version 1.73.0
- New feature: Compile & Run
- Added C, YAML and JSON language detection
Updates v1.0.12
- fix prompt Ask StackOverflow
- Added golang, powershell and react language detection
Updates v1.0.10
- Ask StackOverflow
- Webview StackOverflow
- API errors are shown in the editor message
Updates v1.0.9
- Added Korean, Polish and Turkish languages
- Improved Get Code command error message
Updates v1.0.8
- Added Chinese, Hebrew, Italian, Thai and Ukrainian languages
- Fix 'undefined' account error with OpenAI API
Updates v1.0.7
- New feature: Unit Test CodeGPT
- Added Arabic, German, Japanese and Russian languages
- Added new davinci-instruct-beta model
Updates v1.0.6
Updates v1.0.5
- Error handler with notifications
Updates v1.0.2
- communities
- README.md changes
Updates v1.0.1
- Secure API Key storage
- Added french language
- Added ProgressLocation Notification
Updates v0.0.5
- Added portuguese language
- Default model "text-davinci-003"
- The models "curie", "babbage" and "ada" are added
Updates v0.0.4
Updates v0.0.3
- Feature added Get Code
- Automatically detect the language being used
Updates v0.0.2
- Supported languages: English and Spanish
- OpenAI api error handling
- You can use Ask CodeGPT with selected code
For more datils about this extension, visit
Code GPT