Use GPT-3 to be a more efficient programmer!
- βοΈ Write to GPT-3 from your editor
- π» Generate code from your documentation
- π Generate documentation from your code
- π‘ Code review with explanation
Your OpenAI API key
If you need an OpenAI account, it's free to signup and you get $18 in credits.
When the extension is installed, a prompt will appear for you to enter in your API key.
This extension uses secret storage for API keys.
β οΈ NOTE: Other extensions may store your API key in settings.json - this is not secureβ οΈ
All extensions can read the contents of settings.json
. If your API key is stored there, a malicious extension can easily access it. To protect your API key, it must be stored in secret storage.
Sends user input to GPT for processing. The response will appear in a modal.
Default key binding set to
alt + g
Ask GPT in the Status Bar
Generates code for highlighted documentation. The code is automatically injected below the highlighted docs.
Default key binding set to
alt + x
Generates documentation for highlighted code. The docs are automatically injected above the highlighted code.
Default key binding set to
alt + d
Sends highlighted code to GPT-3 for potential improvements. Suggested code and explanation will appear in a modal.
Default key binding set to
alt + i
Settings
> Extensions
> GPT
π½ How can I reset my API key if I entered the wrong one?
- Open command palette and run
Update OpenAI API Key
- Enter your correct API Key into the prompt
- Reload the window
Added check if completion exceeds max_token values. Alert user how to resolve.
Option to set different values for code vs text completion settings (models, temperature, max tokens)
Create code from documentation
API Key in secret storage
Status bar item to initiate Ask GPT function. Returns more readable modal with a copy output button
Optionally include Organization in request to GPT
Easily configure your extension in preferences
Send GPT text directly. Ask a question or get clarity in your own words, without leaving your editor.
Generates code suggestion with explanation for highlighted code.
Creates documentation for highlighted code.