Home

Awesome

<h2 align="center"><img src="https://raw.githubusercontent.com/ai-genie/chatgpt-vscode/main/images/ai-logo.png" height="64"><br>A Visual Studio Code - ChatGPT Integration</h2> <p align="center"><strong>Prompt OpenAI's GPT-4, GPT-3.5, GPT-3 and Codex models within Visual Studio Code</strong></p> <p align="center"><strong>This repository is meant for documentation, bug reports and feature requests</strong></p> <p align="center"> <a href="https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode" alt="Marketplace version"> <img src="https://img.shields.io/visual-studio-marketplace/v/genieai.chatgpt-vscode?color=orange&label=VS%20Code%20Marketplace" /> </a> <a href="https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode" alt="Marketplace download count"> <img src="https://img.shields.io/visual-studio-marketplace/d/genieai.chatgpt-vscode?color=blueviolet&label=Downloads" /> </a> <a href="https://github.com/ai-genie/chatgpt-vscode" alt="Github star count"> <img src="https://img.shields.io/github/stars/ai-genie/chatgpt-vscode?color=blue&label=Github%20Stars" /> </a> </p>

Testimonials

โ„๏ธ Featured by Snowflake on Medium blogpost

๐ŸŽŒ Blogpost VSCode ใซ ChatGPT ใฎๆ‹กๅผตๆฉŸ่ƒฝใ‚’ๅ…ฅใ‚Œใฆใ‚ณใƒผใƒ‰ใƒฌใƒ“ใƒฅใƒผใ‚„ใƒใ‚ฐใ‚’็™บ่ฆ‹ใ—ใฆใ‚‚ใ‚‰ใ†

๐Ÿ’™ Reviews on Twitter

โค๏ธ ChatGPT the pair programmer - VS Code on Youtube

๐Ÿ’š Generative AI on LinkedIn

Level up your developer experience with Genie

๐Ÿ“ฃ What's new?

<details open> <summary><strong> ๐ŸŒž Custom system message & o1-mini and o1-preview models</strong></summary> </details> <details open> <summary><strong> โซ GPT-4o & 2024 Models available</strong></summary> </details> <details> <summary><strong> โšก Generate commit messages functionality added</strong></summary> </details> <details open> <summary><strong> โซ GPT-4 & GPT-3.5 Turbo models added</strong></summary>
  1. Updated model selection
</details> <details open> <summary><strong> โœจ Azure OpenAI Service support & more</strong></summary>
  1. Azure OpenAI Service
  1. Rename and remove your conversations within sidebar
  1. Improved autoscroll behaviour
</details> <details open> <summary><strong> ๐Ÿ’ก Quick fix problems</strong></summary> </details> <details open> <summary><strong> ๐Ÿ’ฌ Save your conversations and continue at any time</strong></summary>
  1. Conversation history
  1. Misc. bug fixes and improvements

Conversation history - Demo


<a href="https://www.loom.com/share/1a57be874e5d4ec099493cc68ed31e04"> <p>Genie - ChatGPT Conversation History - Watch Video</p> <img style="max-width:300px;" src="https://cdn.loom.com/sessions/thumbnails/1a57be874e5d4ec099493cc68ed31e04-with-play.gif"> </a>
</details>

Get Started

Get your API Key from here: OpenAI and see OpenAI official docs for available model details

  1. Simply ask any coding question by selecting a code fragment.
  2. Once asked, provide your API Key.

If you face issues regarding your API Key, see FAQ for details on how to reenter/clear it

Features

The extension comes with context menu commands, copy/move suggested code into editor with one-click, conversation window and customization options for OpenAI's ChatGPT prompts.

We recently introduced Genie to Problems window. You can investigate your compile-time errors asking Genie. Simply click on Lightbulb/suggestion icon to ask Genie to help you. The credits for this idea goes to @cahaseler; if you are interested in seeing his Genie-companion extension visit this issue

Customization

You may assign a keyboard shortcut to any of the following commands using VS Code's built-in keybindings menu.

Other available commands

Troubleshooting

FAQ

Common Issues

Disclaimer and Credits