ChatGPT conversations in Visual Studio Code
- 🍻 Optimized for dialogue! Have a conversation with ChatGPT with follow-ups.
- 💯 Get help from ChatGPT within vs-code for implementing test cases, explaining it or finding bugs.
- 📝 Create projects/files with one click using built-in actions in the conversation view.
- ⚡ Built-in syntax highlighting for ChatGPT suggested code.
- 🖼️ Icon is generated by dall-e-2.
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.
Ask free-form text questions that will be listed in the conversation window. The conversation is kept in cache until vs-code instance is closed.
- Right click on a selected block of code, run
ChatGPT: Add Tests
command for ChatGPT to write tests for you. - Right click on a selected block of code, run
ChatGPT: Find bugs
command for ChatGPT to analyze and find bugs in your code. - Right click on a selected block of code, run
ChatGPT: Optimize
command for ChatGPT to add suggestions to your code to improve. - Right click on a selected block of code, run
ChatGPT: Explain
command for ChatGPT to explain the selected code.
- You can configure the commands to use any prompts for the selected code!
- Opt-in to receive notification when ChatGPT sends you a message!
Follow the instructions here to get your session token: https://github.com/transitive-bullshit/chatgpt-api#session-tokens
During your first interaction with the extension, you will be asked to enter your session token.
- If the bot isn't responding, try clearing your cache by running the
ChatGPT: Clear session
command. - It's possible that openai systems may experience issues responding to your queries due to high-traffic from time to time.
- If you get
ChatGPTAPI error 429
, it means that you are making Too Many Requests. Please wait and try again in a few moments
- 💻 Open AI ChatGPT: https://chat.openai.com/
- 🖼️ Open AI Dall-E-2: https://openai.com/dall-e-2/
- 🧪 This extension uses unofficial OpenAI APIs. https://github.com/transitive-bullshit/chatgpt-api