Automate queries to GPT3 in your VSCode workflow.
In order to use this repo, you will need to have yarn and node.js installed on your computer.
You can install yarn by following the instructions on the Yarn website: https://yarnpkg.com/getting-started/install
You can install node.js by following the instructions on the Node.js website: https://nodejs.org/en/download/
- Clone this code repository to your local machine
- Open a terminal or command prompt and navigate to the root directory of the repo
- Run the command
yarn install
to install all necessary dependencies - Create a
.env
file and fill it with your OpenAI API key (obtain it here) - Complete the
tasks.json
file with the path to this repository - Paste the
tasks.json
in your VSCode User Tasks config file, which you can open using VSCode commandTasks: Open User Tasks
You're all set! Try it by selecting some test and running VSCode command Tasks: Run Task
. You'll eventually need to reload VSCode or restart it.
As an additional step you can setup keybord shortcuts using VSCode command Preferences: Open Keyboard Shortcuts
To contribute to this repo, please follow these steps:
- Fork this repo
- Create a new branch for your changes
- Make your changes and commit them to your branch
- Push your branch to your forked repo
- Submit a pull request to this repo's
main
branch
This repo is licensed under the GNU GENERAL PUBLIC LICENSE license. Please see the LICENSE file for more details.