This is a Visual Studio Code (VSCode) extension that allows you to generate code using OpenAI and Anthropic/Claude APIs. It provides a simple and intuitive interface for developers to quickly generate code snippets, complete functions, or even entire programs.
Features
Generate code using OpenAI's API
Generate code using Anthropic/Claude API
Easily switch between OpenAI and Anthropic/Claude models
Customize the output by adjusting the prompt and parameters
Supports various programming languages, including Python, JavaScript, Java, and more
Integrates seamlessly with the VSCode editor
Prerequisites
Before using this extension, you'll need to have the following:
An active OpenAI API key
An active Anthropic/Claude API key
You can obtain these API keys by signing up for an account on the respective platforms.
Installation
Open Visual Studio Code.
Go to the Extensions view by clicking on the square icon on the left sidebar or by pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac).
Search for "AI Coder Extension" and click on the "Install" button.
Once the extension is installed, you'll need to configure your API keys. Go to the extension settings by clicking on the gear icon in the extension's details view.
In the settings, enter your OpenAI and Anthropic/Claude API keys.
Contributions
Contributions to this extension are welcome! If you encounter any issues or have suggestions for new features, please feel free to create a new issue or submit a pull request on the GitHub repository.