GPilot is a Visual Studio Code extension that offers AI-powered code completion. This is an alternative to GitHub Copilot that you don't have to pay for every month. You only pay for API requests to ChatGPT. You need to retrieve Open AI API key to use this extension.
I'm trying to make this extension as similar to GitHub Copilot as possible. I would be glad to have your contribution.
Place the cursor where you want the code suggestion and run the command GPilot: Suggest code
(or press Ctrl+Alt+space
).
Problems I plan to fix soon:
- No preview of suggested code before inserting
- Sometimes a suggestion in human language is inserted instead of a code suggestion, or a part of already written code is duplicated
- No warning about invalid API key or insufficient balance on Open AI account
If you want to contribute to this project, you can do so by forking the repository and sending a pull request or submitting an issue.
This extension is licensed under the MIT License. See the LICENSE
file for more information.