Skip to content

Installation & Quick Start

CodRight runs directly inside Visual Studio Code without requiring a forked editor or a vendor account.

  • Visual Studio Code (latest stable release)
  • Either a local Ollama installation or an API key for an OpenAI-compatible provider

Install CodRight from the VS Code Marketplace using one of these methods:

Option A: Extensions Panel

  1. Open VS Code and go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
  2. Search for bhavin19.codright.
  3. Click Install.

Option B: Quick Open Press Ctrl+P (or Cmd+P), paste the command below, and press Enter:

ext install bhavin19.codright

Open VS Code Settings (Ctrl+, or Cmd+,) and search for CodRight.

Set the endpoint, model name, and API key (if required by your provider):

Setting Local Ollama Example Cloud / BYOK Example
API Endpoint http://localhost:11434/v1 https://api.deepinfra.com/v1/openai
Model qwen2.5-coder:7b Qwen/Qwen2.5-Coder-32B-Instruct
API Key Leave blank or ollama Your provider key
  1. Open the CodRight panel from the VS Code Activity Bar.
  2. Open any source file in your workspace.
  3. Ask CodRight to explain a function or refactor a block of code.

If requests fail to connect, verify that your local Ollama service is running or that your endpoint URL matches your provider’s OpenAI-compatible base path.