AI Chat for VS Code
An OpenAI coding assistant in the VS Code sidebar.
Features
Get an OpenAI API key
- Open OpenAI API Keys.
- Select Create new secret key and copy it.
- In VS Code, run AI: Set OpenAI API Key and paste the key.
Keep your key private. Each user needs their own key, and API usage may incur charges.
Use
- Run AI: Open Chat.
- Ask a question, or select code and choose Explain, Fix, or Generate.
- Review generated code before applying it.
The key is stored with VS Code SecretStorage. Messages and selected code are sent to the OpenAI API.
| |