The GPTest VS Code Extension is a simple extension that allows you to test your code using OpenAI's GPT-3 language model. With this extension, you can easily get test code for your projects and quickly iterate on your development.
GPTest.mp4
The GPTest VS Code Extension has the following features:
- A single command, "GPTest", that prompts the user to enter their OpenAI API key and get test code for their projects.
- Automatically detects the programming language of the active document and minifies the code before sending it to the OpenAI API.
- Displays the test code result in a new editor for easy viewing.
To use the GPTest VS Code Extension, you will need:
- A valid OpenAI API key.
- A compatible version of Visual Studio Code.
To use the GPTest VS Code Extension, follow these steps:
- Open Visual Studio Code and navigate to a file with code that you want to test.
- Open the command palette by pressing
Ctrl+Shift+P
(Windows, Linux) orCmd+Shift+P
(macOS). - Search for the "GPTest" command and select it.
- If prompted, enter your OpenAI API key.
- The extension will automatically detect the programming language of the active document and minify the code before sending it to the OpenAI API.
- The test code result will be displayed in a new editor.
If you encounter any bugs or issues with the GPTest VS Code Extension, please report them on the GitHub repository's issue tracker. Pull requests are also welcome for bug fixes or new features.
The GPTest VS Code Extension is released under the MIT License.