VS Code Gemini Code Helper ExtensionOverviewGemini Code Helper is a powerful VS Code extension that leverages the Google Gemini API to provide AI-powered code explanations, suggestions, and insights for developers. It supports multiple programming languages and integrates seamlessly with the VS Code editor. Features
InstallationClone the repository:
Open the project in VS Code:
Set Up Google Gemini API Key Obtain your Google Gemini API Key from Google AI Studio. Create a config.js file in the root directory and add:
Install dependencies and compile:
Run the extension in Development Mode:
Open the Debug Panel ( How to UseSelect a code snippet in VS Code. Press View AI-generated explanations directly in the editor. Troubleshooting401 Unauthorized (Invalid API Key) Ensure the API Key is correct and added in .env. Verify that Gemini API is enabled in Google Cloud Console. If issues persist, regenerate a new API key. DocumentationGoogle Gemini API Docs: Google Gemini API VS Code API Docs: VS Code API ContributingIf you want to improve this extension: Fork the repository Create a new branch for your feature or fix Submit a pull request with your changes LicenseThis project is licensed under the MIT License. AcknowledgementsGoogle for the Gemini API The VS Code Extension API team Enjoying the extension?If you find this useful, feel free to star ⭐ the repository and contribute! |