VS Code AI Chat Assistant is a developer-focused extension that brings Gemini-powered AI directly into your Visual Studio Code workspace. It enables contextual conversations, in-editor file-aware prompts, and intelligent code generation, all from a sleek React-based interface.
Features
AI-Powered Code Generation
Interact with Gemini (Google's LLM) to generate code, answer technical questions, or provide explanations.
Context-Aware File Integration
Use @filename to reference files in your workspace. The assistant reads and includes file content in the prompt automatically.
Autocomplete for Files
Start typing @ to trigger intelligent file suggestions from the workspace.
Syntax-Highlighted Markdown Rendering
Responses are rendered with full markdown and language-specific syntax highlighting.
Modern In-Editor Chat Interface
Built with React and rendered inside a VS Code WebView for a seamless developer experience.
Installation & Setup
Clone the repository
git clone https://github.com/your-username/vscode-chatbot.git
cd vscode-chatbot
Install root dependencies
npm install
Build the frontend
cd chatbot-ui
npm install
npm run build
Add your Gemini API key
Create a .env file at the root with the following: