Installation
The Contox VS Code extension is available on the VS Code Marketplace.
Install from the marketplace
- Open VS Code
- Go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for Contox
- Click Install
Alternatively, install from the command line:
code --install-extension contox.contox-vscode
Requirements
- VS Code 1.85.0 or later
- Git installed and available in your PATH (for auto-capture)
- A Contox account with an API key
Verify installation
After installation, you should see:
- A Contox icon in the Activity Bar (left sidebar)
- The Contox: Setup Wizard command available in the Command Palette (
Ctrl+Shift+PorCmd+Shift+P)
Extension activation
The extension activates in two scenarios:
onUri-- When a deep link (vscode://contox.contox-vscode/...) is opened, typically from the Contox dashboardworkspaceContains:.contox.json-- When a workspace folder contains a.contox.jsonfile, indicating an initialized Contox project
If neither condition is met, the extension stays inactive until you manually run a Contox command from the Command Palette.
First-time setup
After installation, you have two options for connecting your workspace:
Option 1: Dashboard deep link -- Go to your project on the Contox dashboard and click the "Connect VS Code" button. This opens a deep link that auto-configures everything.
Option 2: Setup wizard -- Open the Command Palette and run Contox: Setup Wizard. The 5-step wizard walks you through login, team selection, project linking, AI tool configuration, and first scan.
See the Setup guide for detailed instructions.
Updating the extension
VS Code updates extensions automatically by default. To manually update:
- Go to the Extensions view
- Find Contox in the installed extensions list
- Click Update if an update is available