- Press ctrl+shift+p.
- Write "Set openaikey".
- Paste your OpenAi API Key.
- Select some code.
- Press F4.
- Enjoy your new code.
Codex can be used in three differents modes, each mode have its own set of options that you can find on a new tab on the Activity Bar. You can use the extension without selecting any code, in that case the extension will generate new code using the default prompt.
Generates new code using the selection as prompt. If no selection is made, the extension will use the default prompt.
Transforms the selection with a set of instructions provided.
Insert new code using the [insert] tag. Your selection will be splited between [insert] and the code will overwrite the tag.
- Download the latest release.
- Run code --install-extension vscodex.vsix
You need an OpenAi API Key to use the extension. You can get one here.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
This project is not affiliated with OpenAi.
OpenAi is a trademark of OpenAi, Inc.
murapa96