Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CodementiNew to Visual Studio Code? Get it now.
Codementi

Codementi

Codementi

|
9 installs
| (0) | Free
AI-powered code analysis and test case generation using Groq
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codementi VS Code Extension

An AI-powered VS Code extension that automatically analyzes code, generates test cases, and provides an interactive chat interface using Groq's LLM API.

Features

  1. File Detection and Code Analysis

    • Automatically detects currently active file
    • Analyzes code using Groq's llama-3.3-70b-versatile model
    • Provides insights about code structure and potential improvements
  2. AI-Powered Test Case Generation

    • Generates up to 10 comprehensive test cases
    • Covers valid inputs, edge cases, and error scenarios
    • Interactive UI to view and run test cases
  3. AI Chat Interface

    • Copilot-like assistant for code-related questions
    • Get instant help with debugging and code optimization
    • Interactive chat interface with command history

Installation

  1. Install the extension from VS Code marketplace
  2. Set up your Groq API key:
    • Get an API key from Groq
    • Create a .env file in the extension directory
    • Add your API key: GROQ_API_KEY=your_api_key_here

Usage

Keyboard Shortcuts

  • Ctrl+Shift+A (Windows/Linux) / Cmd+Shift+A (Mac): Analyze current file
  • Ctrl+Shift+T (Windows/Linux) / Cmd+Shift+T (Mac): Generate test cases
  • Ctrl+Shift+R (Windows/Linux) / Cmd+Shift+R (Mac): Run test cases
  • Ctrl+Shift+C (Windows/Linux) / Cmd+Shift+C (Mac): Open AI chat

Commands

All commands can also be accessed through the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

  • Codementi: Analyze Current File
  • Codementi: Generate Test Cases
  • Codementi: Run Test Cases
  • Codementi: Open AI Chat

Requirements

  • VS Code version 1.80.0 or higher
  • Node.js 14.x or higher
  • Active Groq API key

Development

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Add your Groq API key to .env
  4. Press F5 to start debugging

License

MIT

Contributing

Feel free to submit issues and enhancement requests!

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