FreeAI Extension
A Visual Studio Code extension that provides AI-powered code assistance in a sidebar, styled like a Grok chat interface.
Features
- AI-Powered Code Assistance: Select code in your editor, send a prompt to an AI, and insert the generated code directly into your file.
- Chat-Like Interface: Displays selected code in a sidebar Webview with a text input and "Send" button, styled to resemble the Grok AI chat.
- Seamless Integration: Works directly within VS Code's Activity Bar for a smooth coding experience.
How to Use
- Install the
FreeAI Extension from the Visual Studio Marketplace.
- Open the
FreeAI sidebar by clicking the FreeAI icon in the Activity Bar.
- Select some code in your editor (e.g., a function or block of code).
- The selected code will appear in the
AI Webview panel.
- Enter a prompt in the text area (e.g., "Optimize this code" or "Add error handling").
- Click the "Send" button to get AI-generated code.
- The generated code will replace the selected code in your editor (or be inserted at the cursor if nothing is selected).
Requirements
- Visual Studio Code v1.60.0 or higher.
- An active internet connection to communicate with the AI API.
Known Issues
- The extension may not work if no text editor is active in VS Code.
For support or feedback, https://t.me/latentdev.
| |