Clippy AI

It is possible to send your current file and instructions in plain-text English to the OpenAI Codex using the Clippy AI addon for Visual Studio Code.

The proposed modifications are then visible in your editor’s diff view, where you can simply decide whether to accept or reject them. As it depends on OpenAI’s new edit endpoint, which is currently free while it is being tested, it is currently free to use.

To use, locate the new command “Clippy AI: edit file or selection” in the command palette by pressing the keys cmd+shift+P on a Mac. You will be prompted to enter the command you wish Clippy to follow in a pop-up input window.

If there isn’t a likely edit, Clippy will display an error message. If not, Clippy’s proposed adjustments will show up in a diff view. An experimental feature of Clippy AI allows you to record voice commands.

Try out this extension with different commands after installing it from the VS Code Marketplace. ADD TYPES HINTS TO ALL FUNCTION DEFINITIONS, “FIX ALL SYNTAX ERRORS,” “REMOVE COMMENTED-OUT CODE,” “REMOVE DEAD CODE,” “ADD A COMMAND TO PACKAGE AND INSTALL THE EXTENSION LOCALLY,” and “REMOVE ALL LOGGING STATEMENTS” are some examples of commands that have been successful.

The most recent version is 0.4.0, and it is distributed by Clippy AI.

Leave a Reply

Your email address will not be published. Required fields are marked *