An AI assistant extension example for Visual Studio Code that provides a chat interface in a bar.
It's built with React, TailwindCSS, TypeScript, Webpack, and VS Code Webview API.
- Modern and user-friendly tech stack
- Seamless integration with VS Code theme colors
- Easy access with keyboard shortcut
CMD + SHIFT + J
- Chat history
- Undo & Redo Chat deletion
- Select file from workspace and use it in chat
- Sync workspace files with chat
- Copy code from editor to chat
- Extension configuration
- Real-time chat experience
- Integration with LLM providers
- Customizable prompts, executing prompt using selected code
- Testing with Jest and React Testing Library
- CI/CD with GitHub Actions
- Clone the repository
- Run
npm install
- Open VS Code and press
F5
to start debugging - Accept the dialog to debug the extension
- Press
CMD + SHIFT + J
to open the "AI" Assistant - Press
CMD + R
to reload the extension (if you make changes to the code)
npm run package
npm install -g @vscode/vsce
vsce package --allow-missing-repository
MIT