Using the official OpenAI API inside the IDE with Eunomia Code GPT.
To learn more, visit eunomia-code-gpt.co
👈 please read the installation instructions
- Write a comment asking for a specific code
- Press
cmd + shift + i
- Use the code 😎
Find tips and share your experience in our communities:
If you have any questions or problems you can ask in the communities or create an issue here:
https://github.com/whatwewant/eunomia-code-gpt/issues
Examples
Ask StackOverflow
This functionality allows you to get questions from Stackoverflow and compare the best human answer 🧠 with the answer from an artificial intelligence 🤖
Create a README.md with Ask EunomiaCodeGPT
Select the code and then click on Explain EunomiaCodeGPT
Features
Get Code
: Create a comment asking for a specific code and EunomiaCodeGPT will open a new Editor with the code (You don't need to write the code language. EunomiaCodeGPT will detect it automatically).
Ask EunomiaCodeGPT
: EunomiaCodeGPT will open a new Editor and respond the question.
Ask EunomiaCodeGPT - code selected
: Select the code and ask a question, EunomiaCodeGPT will open a new Editor and respond the question.
Compile & Run EunomiaCodeGPT
: EunomiaCodeGPT will compile and run your selected code.
Ask StackOverflow
: Search for a question using the Stackoverflow API and Eunomia Code GPT will show the best human answer and then the AI answer.
Explain EunomiaCodeGPT
: EunomiaCodeGPT will open a new Editor and explain the code.
Refactor EunomiaCodeGPT
: EunomiaCodeGPT will open a new Editor and refactor the code.
Document EunomiaCodeGPT
: EunomiaCodeGPT will open a new Editor and Document the code.
Find Problems EunomiaCodeGPT
: EunomiaCodeGPT will open a new Editor and find problems in the code.
Unit Test EunomiaCodeGPT
: EunomiaCodeGPT will open a new Editor and write unit tests of the code.
Store your API Key securely
Set API KEY
: To save your API KEY securely.
Remove API KEY
: To remove your API KEY.
IMPORTANT!
Other extensions store the API Key in Settings. DO NOT SAVE SENSITIVE INFORMATION IN SETTINGS. We care about the security of your data
Eunomia Code GPT extension is FREE but the APIs of artificial intelligence providers that it consumes can be PAID for. Please carefully review the installation instructions at https://www.eunomia-code-gpt.co/docs/intro
Installation
Go to Settings > Extensions > EunomiaCodeGPT
Complete the following information:
Eunomia Code GPT uses different Artificial Intelligence Providers
- OpenAI
- Cohere (beta)
- AI21 (beta)
Updates v1.0.15
- Interface improvement
- Better prompts to improve the response
- New feature: Search API (beta)
- Fix Terraform files
Updates v1.0.14
- New AI Provider: Cohere
- API Error handler
- Added webview to Explain and Document command
- Added Terraform, swift, shellscript language detection
Updates v1.0.13
- Supports VSCode version 1.73.0
- New feature: Compile & Run
- Added C, YAML and JSON language detection
Updates v1.0.12
- fix prompt Ask StackOverflow
- Added golang, powershell and react language detection
Updates v1.0.10
- Ask StackOverflow
- Webview StackOverflow
- API errors are shown in the editor message
Updates v1.0.9
- Added Korean, Polish and Turkish languages
- Improved Get Code command error message
Updates v1.0.8
- Added Chinese, Hebrew, Italian, Thai and Ukrainian languages
- Fix 'undefined' account error with OpenAI API
Updates v1.0.7
- New feature: Unit Test EunomiaCodeGPT
- Added Arabic, German, Japanese and Russian languages
- Added new davinci-instruct-beta model
Updates v1.0.6
Updates v1.0.5
- Error handler with notifications
Updates v1.0.2
- communities
- README.md changes
Updates v1.0.1
- Secure API Key storage
- Added french language
- Added ProgressLocation Notification
Updates v0.0.5
- Added portuguese language
- Default model "text-davinci-003"
- The models "curie", "babbage" and "ada" are added
Updates v0.0.4
Updates v0.0.3
- Feature added Get Code
- Automatically detect the language being used
Updates v0.0.2
- Supported languages: English and Spanish
- OpenAI api error handling
- You can use Ask EunomiaCodeGPT with selected code
For more datils about this extension, visit
Eunomia Code GPT