Currents for VS Code

Troubleshoot CI failures right where you code. Currents.dev brings runs, errors, flaky tests analytics, CI builds and Pull Request failures into your IDE — so you can diagnose and fix issues with your agent without switching context.
Features
Drill into test failures with error messages, stack traces, and trace files — then feed that context to an AI agent to troubleshoot and resolve CI failures in one step.
Run Feed
Browse your latest CI test runs directly in the sidebar. Runs are filtered by your current git branch automatically and refresh every 30 seconds so you always see what's happening.
- Filter by branch or author
- Auto-refresh with a single toggle
Pull Request View
Debug and troubleshoot CI failures without ever leaving your IDE. Each PR surfaces a timeline of commits and builds right in the sidebar — no dashboard tab-switching needed. Spot a failure, hit "Fix with Agent", and move on.
- Filter by branch or author
- Auto-refresh with a single toggle
Test Explorer
Surface the flakiest and slowest tests across your project over configurable date ranges (14 / 30 / 60 / 90 days).
- Sort by flakiness rate or average duration
- Jump to the test file and line in one click
- Send flaky or slow tests to AI for automated analysis and fixes
Run Details
Click any run to open a full detail panel with every spec and test result. Failed tests show error messages and stack traces inline.
- One-click "Fix with Agent" sends the failure context straight to your AI chat (Copilot, Cursor, etc.) to generate a fix
- "Open in Dashboard" jumps to the full Currents web UI for deeper analysis
Analyze with Currents
An inline CodeLens / Quick Fix action appears above every test definition in your code. Trigger it to pull recent failure data from the Currents API and send a rich, context-aware prompt to your AI assistant.
MCP Server Integration
The extension automatically registers a Currents MCP server so AI agents in Cursor and VS Code can query runs, test results, and spec instances directly through tool calls.
Getting Started
- Install the extension from the VS Code Marketplace or search "Currents" in the Extensions panel.
- Open the Currents panel in the Activity Bar.
- Click Set API Key and paste your Currents.dev API key.
- Select a project — your runs will appear immediately.
Requirements
- A Currents.dev account with an API key
- VS Code 1.85+ or Cursor
Extension Settings
| Setting |
Default |
Description |
currents.filterByCurrentBranch |
true |
Auto-filter runs by the current git branch |
currents.notifyOnRunComplete |
false |
Show an OS notification when a run finishes |
currents.analyzeTestDisplay |
always |
Show "Analyze with Currents" as CodeLens (always) or only via Quick Fix (quickfix) |
currents.apiBaseUrl |
https://api.currents.dev/v1 |
API base URL (for self-hosted / enterprise) |
currents.registerMcpServer |
true |
Auto-register the Currents MCP server for AI agents |
Extension Icons & Branding
The extension uses separate assets for different contexts:
resources/logo.png — marketplace icon shown on VS Code Marketplace, Open VSX, and the Extensions sidebar. Must be PNG, recommended 256x256 (128x128 minimum).
resources/logo.svg — Activity Bar icon in the editor sidebar. Must be SVG with a single fill color (VS Code applies theme coloring). Recommended 24x24 viewBox.
galleryBanner in package.json — controls the banner color and text theme on the VS Code Marketplace detail page header. No effect on Open VSX or in-editor display.
Development
git clone https://github.com/currents-dev/ide-extension.git
cd ide-extension
npm install
npm run watch
Press F5 in VS Code to launch the Extension Development Host, or click "Run Extension" in VSCode Debug panel.
License
Apache 2.0