ChatGPT conversations in Visual Studio Code
Login following the instructions here to get your access token: https://github.com/transitive-bullshit/chatgpt-api#how-it-works
The extension comes with context menu commands, 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 problems
command for ChatGPT to analyze and find problems 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.
If the bot isn't responding, try clearing your cache by running the ChatGPT: Clear session
command.
- Open AI ChatGPT: https://chat.openai.com/
- ChatGPT API: https://github.com/transitive-bullshit/chatgpt-api