Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>QCodeX - AI Coding AssistantNew to Visual Studio Code? Get it now.
QCodeX - AI Coding Assistant

QCodeX - AI Coding Assistant

QCodeX

|
3 installs
| (0) | Free
An intelligent AI coding assistant for VSCode, supporting multiple AI models
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

QCodeX - AI Coding Assistant

QCodeX is a powerful AI coding assistant extension for Visual Studio Code that supports multiple AI models including OpenAI GPT, Anthropic Claude, Ollama, and custom API endpoints.

Features

  • Multi-Model Support: Use GPT-4, Claude 3, or any OpenAI-compatible API
  • Chat Interface: Interactive chat panel in the sidebar
  • Code Actions: Right-click context menu for quick AI actions
    • Explain Code
    • Refactor Code
    • Generate Tests
    • Fix Bugs
    • Add Comments
  • Custom Models: Add your own AI models with custom API endpoints
  • Streaming Responses: Real-time streaming for faster feedback

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "QCodeX"
  4. Click Install

Configuration

Adding API Keys

  1. Click the QCodeX icon in the activity bar
  2. Click "Settings" in the header
  3. Find your preferred model and click "Add Key"
  4. Enter your API key and save

Adding Custom Models

  1. Open Settings
  2. Go to "Add Custom" tab
  3. Fill in the model details:
    • Model Name
    • Model ID
    • Base URL
    • API Key
  4. Click "Add Model"

Usage

Chat

  1. Click the QCodeX icon in the activity bar
  2. Select a model from the dropdown
  3. Type your question and press Enter or click Send

Code Actions

  1. Select code in the editor
  2. Right-click to open context menu
  3. Choose from QCodeX submenu:
    • Explain Code
    • Refactor Code
    • Generate Tests
    • Fix Bugs
    • Add Comments

Keyboard Shortcuts

  • Ctrl+Shift+Q / Cmd+Shift+Q: Open QCodeX Chat

Supported Models

OpenAI

  • GPT-4
  • GPT-4 Turbo
  • GPT-3.5 Turbo

Anthropic

  • Claude 3 Opus
  • Claude 3 Sonnet
  • Claude 3 Haiku

Local Models

  • Ollama (any model)

Custom

  • Any OpenAI-compatible API

Extension Settings

This extension contributes the following settings:

  • qcodex.defaultModel: Default AI model to use
  • qcodex.models: Configured AI models with API keys
  • qcodex.serverUrl: Custom backend server URL (optional)

Development

Building from Source

# Install dependencies
npm install

# Compile
npm run compile

# Watch mode
npm run watch

# Package
npm run package

Project Structure

qcodex/
├── src/
│   ├── extension.ts          # Extension entry point
│   ├── commands.ts           # Command registrations
│   ├── providers/
│   │   └── ChatViewProvider.ts   # Webview provider
│   └── services/
│       ├── AIService.ts      # AI API integration
│       └── ModelManager.ts   # Model configuration management
├── resources/
│   └── icon.svg              # Extension icon
├── package.json              # Extension manifest
└── README.md

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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