Installation & Quick Start
CodRight runs directly inside Visual Studio Code without requiring a forked editor or a vendor account.
Prerequisites
Section titled “Prerequisites”- Visual Studio Code (latest stable release)
- Either a local Ollama installation or an API key for an OpenAI-compatible provider
1. Install the Extension
Section titled “1. Install the Extension”Install CodRight from the VS Code Marketplace using one of these methods:
Option A: Extensions Panel
- Open VS Code and go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X). - Search for
bhavin19.codright. - Click Install.
Option B: Quick Open
Press Ctrl+P (or Cmd+P), paste the command below, and press Enter:
ext install bhavin19.codright2. Configure Your Provider
Section titled “2. Configure Your Provider”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 |
3. Verify Your Setup
Section titled “3. Verify Your Setup”- Open the CodRight panel from the VS Code Activity Bar.
- Open any source file in your workspace.
- 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.