A vscode extension for poor gpt.
20230415_195007.mp4
- First make the poor-auto-gpt all set up and cli command can running on your machine.
- You should create an excutable file named
gpt.bat(you can change in extension configuration later) in your PATH. - Compile extension
vsce package
- Install extension from more menu of extesnions pannel.
- Make ChatGPT website running on your chrome as poor-auto-gpt.
- Open a file in vscode.
- Type some question to ChatGPT and press
Ctrl+Shift+;to send it. - The result will be shown in below the current line.
If you want to send multi-line question, you can select the lines and press Ctrl+Shift+; to send it.
The result will be shown in below the last line of the selected lines.
vs-poor-gpt.gptPath: The path ofgpt.batfile. Default isgpt.bat.
{
"key": "ctrl+shift+;",
"command": "vs-poor-gpt.runPoorGPT",
"when": "editorTextFocus"
} Enjoy!