An advanced VS Code extension that provides AI-powered code suggestions, explanations, and optimizations using the OpenAI Agents SDK with Gemini integration.
Features
Real-time Code Completions: Get intelligent code suggestions as you type
Code Generation: Generate code snippets based on natural language descriptions
Code Explanations: Get detailed explanations of selected code
Code Optimization: Automatically optimize your code for better performance and readability
Multi-language Support: Works with JavaScript, TypeScript, Python, Java, C#, and more
Context-aware: Understands your project structure and coding patterns
Requirements
VS Code 1.80.0 or higher
Gemini API key
Installation
Install the extension from the VS Code Marketplace
Press CTRL + SHIFT + P
Type: preferences: Open Settings (UI)
Search for apiKey and give your apikey
Start coding and enjoy AI-powered assistance!
Usage
Code Completions
Just start typing, and the extension will provide intelligent code completions based on the context.
Code Generation
Select text describing what you want to generate
Press Ctrl+Shift+G (Cmd+Shift+G on Mac)
The AI will generate code based on your description
Code Explanation
Select the code you want to explain
Press Ctrl+Shift+E (Cmd+Shift+E on Mac)
A new panel will open with a detailed explanation
Code Optimization
Select the code you want to optimize
Press Ctrl+Shift+O (Cmd+Shift+O on Mac)
The AI will suggest optimizations for your code
Extension Settings
This extension contributes the following settings: