Code GPT extension for VSCode
Using the official OpenAI API inside the IDE with Code GPT.
New feature! Get code from comments
- Write a comment asking for a specific code
- Press
cmd + shift + i
- Use the code 😎
Examples
Create a README.md with "Ask CodeGPT"
Select the code and then click on Explain CodeGPT
Result:
Features
-
Get Code
: Create a comment asking for a specific code and CodeGPT will open a new Editor with the code (You don't need to write the code language. CodeGPT will detect it automatically). -
Ask CodeGPT
: CodeGPT will open a new Editor and respond the question. -
Explain CodeGPT
: CodeGPT will open a new Editor and explain the code. -
Refactor CodeGPT
: CodeGPT will open a new Editor and refactor the code. -
Document CodeGPT
: CodeGPT will open a new Editor and Document the code. -
Find Problems CodeGPT
: CodeGPT will open a new Editor and find problems in the code. -
Set API KEY
: To save your API KEY securely. -
Remove API KEY
: To remove your API KEY.
Installation
Go to Settings > Extensions > CodeGPT
Complete the following information:
- To enter your API Key press cmd+shift+p and search for
CodeGPT: Set API KEY
. Your API KEY will be safely stored.
Top comments (0)