You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
This is a Visual Studio Code extension for ChatGPT that was built using only ChatGPT and 5 beers.
The README.md file for this extension was generated by ChatGPT.
ChatGPT: Query (will provide a prompt for you to ask a question)
ChatGPT: Add tests (generates tests based on file/text selection)
ChatGPT: Why is my code broken? (analyses your code to highlight any logic/syntax errors)
ChatGPT: Explain code
ChatGPT: Refactor
ChatGPT: Set API Key (set's your API key, auto promted on first use)
Everything except Reset Token and Query are available from the context menu when right-clicking in the editor.
Usage
To use the extension:
This extension uses the official OpenAI library
Open the VS Code Command Palette and Type ChatGPT: Set API Key, this will prompt you for your key which can be generated here: https://openai.com/account/api-keys
Once you're authenticated, you can ask ChatGPT any question and supply source code from your current file/selection.
Support
If you need help using this extension, please open an issue on the GitHub repository for this extension.
Credits
ChatGPT - The large language model trained by OpenAI that was used to generate this README file
chatgpt-api - The original NPM used prior to the offical library
mpociot's extension - Inspiration for the project and the original webview panel