Skip to content

Get started with ImpactLens

Install the extension in VS Code or Kodik, check Python and Git, and run your first analysis of current changes or a pull request.

Documentation sections

Requirements

  • VS Code 1.92 or newer, or a compatible Kodik editor.
  • Python 3.11 or newer.
  • Git for detecting current changes and comparing pull requests.
  • An open workspace with supported source files.

Python must run through an explicit impactlens.pythonPath, a project virtual environment, or one of the system commands. Core analysis runs locally and does not require an AI provider.

Installation and updates

Install from Visual Studio Marketplace

  1. Open the ImpactLens page in Visual Studio Marketplace and select Install.
  2. Confirm opening VS Code or Kodik and wait for installation to finish.

Manual VSIX installation

  1. Open https://github.com/BEVALERY-Solutions/impactlens/releases and download the newest impactlens-vscode-*.vsix.
  2. In VS Code or Kodik, open Extensions, the additional actions menu ..., and choose Install from VSIX....
  3. Select the downloaded file and wait for installation to finish.
  4. To update, download a new .vsix from Releases and install it over the existing version.
  5. Open a Git repository or another workspace with Python, TypeScript/JavaScript, Go, Java, C#, or C/C++ files.

Check Setup and Python discovery

After installation, open ImpactLens in the Activity Bar and select Getting Started. The screen shows the effective workspace, Python, Git base branch, analysis depth, exclusions, and AI provider configuration. Then run Check Setup to verify the interpreter and bundled analyzer.

ImpactLens: Check Setup

The locations where ImpactLens looks for a Python interpreter are listed below. Candidates are checked in order; the first one that passes the version check is used.

  1. impactlens.pythonPath
  2. <workspace>/.venv/Scripts/python.exe.
  3. <workspace>/.venv/bin/python.
  4. <workspace>/backend/.venv/Scripts/python.exe.
  5. <workspace>/backend/.venv/bin/python.
  6. py -3.
  7. python.
  8. python3.

If no suitable Python is found, set the full interpreter path in impactlens.pythonPath and run Check Setup again.

First analysis

From the Activity Bar: open ImpactLens. Under Current Changes, select Analyze All Changes or a specific changed file. A Quick Pick opens first: you can run analysis, preview or copy the file list, open a file, or cancel the action.

From the command palette: ImpactLens: Analyze Current Changes analyzes supported tracked Git changes. ImpactLens: Analyze PR Changes compares the current branch with the pull request base branch.

After launch, a cancellable progress notification appears. The completed report opens separately and shows affected files, API routes, functions, classes, methods, impact reasons, and suggested tests.

Analysis modes and depth

Fast check, Normal analysis, and Deep analysis are available. Depth is set to 1 level, 2 levels, 3 levels, or all dependency levels. The deeper the analysis, the wider the impact map and the longer it may take on a large project.

If a report is too broad or analysis takes too long, reduce depth or exclude generated files, migrations, and vendor directories. Code-element and test limits keep the report readable.

Check suggested tests

  1. Open suggested tests in the completed report.
  2. Run one suggested test or select Run all suggested tests.
  3. If tests fail, select Fix failed tests to send compact run results and analysis facts to the LLM and obtain a repair plan.

When there are no changes

Current Changes shows No supported changes, when Git finds no supported tracked changes. The normal Git flow does not include new untracked files.

There is an important distinction: when the Git list is empty, ImpactLens: Analyze Current Changes may use an active supported file inside the workspace as a fallback. The Analyze All Changes button in the Activity Bar analyzes the Git list itself and does not substitute the active file. If there is nothing to analyze, ImpactLens reports that without producing a false report.

Illustrations

ImpactLens Getting Started screen
The screen shows the effective ImpactLens configuration: workspace, detected Python, Git base branch, analysis depth, and the first actions before launch.
Choosing the analysis depth
The selection screen shows Fast check, Normal analysis, and Deep analysis, as well as actions to preview or copy the changed-file list before launch.