Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Omga AINew to Visual Studio Code? Get it now.
Omga AI

Omga AI

Pouria Hosseini

|
7 installs
| (1) | Free
Advanced AI programming assistant powered by Gemini for intelligent code completion and assistance
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Omga AI - Advanced Programming Assistant

Omga AI is a powerful VS Code extension that provides intelligent programming assistance powered by Google's Gemini AI. Get instant code completions, explanations, optimizations, and more directly in your editor.

✨ Features

🤖 Intelligent Code Completion

  • Real-time inline code suggestions
  • Context-aware completions based on your current code
  • Supports all popular programming languages

💬 Interactive Chat Sidebar

  • Ask programming questions directly in VS Code
  • Get explanations for complex concepts
  • Context-aware responses based on your current file

🛠️ Code Actions

  • Explain Code: Get detailed explanations of selected code
  • Optimize Code: Receive performance and readability improvements
  • Generate Tests: Create comprehensive unit tests automatically
  • Fix Code: Identify and fix bugs in your code

🎯 Smart Context Integration

  • Automatically includes current file context in responses
  • Works with selected code for targeted assistance
  • Maintains conversation history for better context

🚀 Getting Started

Prerequisites

  • VS Code 1.74.0 or higher
  • Metis API Key

Installation

  1. Install the extension from the VS Code marketplace
  2. Get your Metis API key from Metis Ai
  3. Open VS Code settings and search for "Omga AI"
  4. Enter your API key in the omga-ai.apiKey setting

Configuration

Open VS Code settings and configure Omga AI:

{
    "omga-ai.apiKey": "your-metis-api-key-here",
    "omga-ai.model": "gemini-2.0-flash",
    "omga-ai.enableInlineCompletion": true,
    "omga-ai.enableCodeSuggestions": true,
    "omga-ai.temperature": 0.3
}

📖 Usage

Chat Sidebar

  1. Click the robot icon in the activity bar
  2. Open the "Omga AI Assistant" panel
  3. Type your programming questions and get instant answers

Code Actions

  1. Select any code in your editor
  2. Right-click to open the context menu
  3. Choose from Omga AI options:
    • Explain Code
    • Optimize Code
    • Generate Tests
    • Fix Code

Inline Completions

  • Simply start typing and Omga AI will suggest completions
  • Press Tab to accept suggestions
  • Works automatically as you code

Command Palette

Access all Omga AI features via the command palette (Ctrl/Cmd + Shift + P):

  • Omga AI: Open Chat
  • Omga AI: Explain Code
  • Omga AI: Optimize Code
  • Omga AI: Generate Tests
  • Omga AI: Fix Code

⚙️ Settings

Setting Description Default
omga-ai.apiKey Your Metis API Key ""
omga-ai.model Gemini model to use "gemini-2.0-flash"
omga-ai.enableInlineCompletion Enable inline code completion true
omga-ai.enableCodeSuggestions Enable code suggestions true
omga-ai.temperature AI response creativity (0-2) 0.3

Available Models

  • gemini-2.0-flash - Best performance and capabilities
  • gemini-2.0-flash-exp - Faster responses
  • gemini-2.0-flash-lite - Standard model

🔒 Privacy & Security

  • Your API key is stored locally in VS Code settings
  • Code is only sent to Google's Gemini API when you explicitly request assistance
  • No code is stored or logged by the extension
  • All communication is encrypted via HTTPS

🐛 Troubleshooting

Common Issues

"API not initialized" error:

  • Ensure you've set your Metis API Key in settings
  • Restart VS Code after setting the API key

Slow responses:

  • Try using gemini-2.0-flash model for faster responses
  • Check your internet connection

No inline completions:

  • Verify omga-ai.enableInlineCompletion is set to true
  • Make sure you have sufficient context (at least 2 characters)

Getting Help

If you encounter issues:

  1. Check the VS Code Developer Console (Help > Toggle Developer Tools)
  2. Look for Omga AI error messages
  3. Report issues on our GitHub repository

🎯 Tips for Best Results

  1. Be Specific: Ask detailed questions for better responses
  2. Provide Context: Select relevant code before asking questions
  3. Use Clear Language: Write clear, specific prompts
  4. Experiment with Temperature: Lower values (0.1-0.3) for code, higher (0.7-1.0) for creative tasks

📝 Examples

Code Explanation

Select a function and use "Explain Code" to get:

  • What the function does
  • Parameter explanations
  • Return value details
  • Usage examples

Code Optimization

Get suggestions for:

  • Performance improvements
  • Memory optimization
  • Code readability
  • Best practices

Test Generation

Automatically generate:

  • Unit tests
  • Edge case tests
  • Mock data
  • Test setup code

🤝 Contributing

We welcome contributions! Please see our contributing guidelines for more information.

📄 License

This extension is licensed under the MIT License. See the LICENSE file for details.


Developer :

  • Pouria Hosseini
  • GitHub : @isPoori
  • Telegram : @isPoori

Enjoy coding with Omga AI! 🚀

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft