AICoworker is a Visual Studio Code extension that integrates GPT-4 to assist with code modifications and provide AI-driven suggestions directly within your editor.
Features
Chat with AI: Interact with GPT-4 to modify selected code snippets.
AICoworker Chat: Open a dedicated chat interface within VSCode to ask questions and get AI-generated responses.
Installation
Install the extension from the Visual Studio Code Marketplace.
Click on the AICoworker icon in the activity bar to open the chat interface.
Use the context menu to interact with the AI on selected code snippets.
Usage
Chat with AI:
Select a piece of code in your editor.
Right-click and choose "Chat with AI" from the context menu.
The AI will modify the selected code based on your prompt.
Open Chat Interface:
Click on the AICoworker icon in the activity bar to open the chat interface.
Type your query and click "Ask AI" to get responses from GPT-4.
Configuration
You will need an OpenAI API key to use this extension. Set your API key in the extension's settings.
Contributing
Contributions are welcome! Please fork the repository and submit pull requests.