This plugin connect the Sublime Text editor with the OpenAI ChatGPT using the command input panel.
Instead to write the request inside the editor, it will be written in the command palette.
The selected code will be automatically filled in the command palette so that you can complete the request.
Remember: You can add a line break inside the command palette using the Shift + Enter key combination.
Important: Using this plugin implies that you may be sending parts of your code to the company that manages the ChatGPT API (in this case OpenAI). It is important to keep this in mind if your code is secret or private.
Related Packages: https://github.com/yaroslavyaroslav/OpenAI-sublime-text
Waiting for Package Control approval: wbond/package_control_channel#8675
Preferences
>Package Control
>Install Package
- Search
ChatGPT
- Click the
Preferences
>Browse Packages…
menu. - Clone this repository inside
Packages
folder with nameChatGPT
. - Restart Sublime Text.
Preferences
> Package Settings
> ChatGPT
> Settings
to set de API KEY and default settings.
Preferences
> Package Settings
> ChatGPT
> Key Bindings
to set the command input Key Binding.
You can add this as default:
[
{
"keys": ["alt+shift+c"],
"command": "chat_gpt"
}
]