Skip to content

DocsUse

The VS Code extension

Index the workspace, search it, and see what a change affects from the cursor or a code lens, with BBM-Atlas's tools offered to Copilot's agent mode.

Getting it

It contains no BBM-Atlas code of its own. It runs the BBM-Atlas installed in your Python, or connects to a server you already run, and calls its REST API.

Starting the server

By default (bbmAtlas.server.mode: auto) the extension starts BBM-Atlas itself, on a free loopback port, and stops it with the window. The status bar shows where it stands, and clicking it offers the next step:

StatusMeaningClick to
RestrictedThe workspace isn't trusted, so no Python runsManage workspace trust
No PythonNo Python 3.11 or newer was foundChoose a Python
Not installedPython found, without BBM-Atlas 1.0 or newerInstall BBM-Atlas (with pip, after you agree)
ReadyServing; it also shows indexing or indexedSearch, or index
FailedIt couldn't start, or stoppedShow the log

It looks for Python in bbmAtlas.pythonPath, then the Python extension's selected interpreter, then python3 and python (python and py -3 on Windows), preferring one that already has BBM-Atlas.

To use a server you run yourself - a team server, or one with your Enterprise licence - set bbmAtlas.server.mode to external and bbmAtlas.server.url to its address, then run BBM-Atlas: Set API Key if it requires one.

What it does

  • Indexing. Each workspace folder is indexed when the server starts and again shortly after you save, with progress you can cancel. Only changed files are parsed again.
  • Analyze Impact. From the cursor, or the Impact code lens above every function, method and class: the Impact view lists what depends on the symbol, grouped by distance, with the tests that cover it apart. A click opens a symbol at its line.
  • Search. A quick pick that searches every indexed folder as you type.
  • Repositories. A view of each folder's symbols, files and languages, to re-index or remove.
  • The console. Open Web Console, and Show in Graph Explorer for the symbol at the cursor, in VS Code's browser.
  • Copilot. The server's tools are offered to the editor's AI assistant over MCP, with no configuration. Copy MCP Configuration writes the entry for another editor.

Settings

SettingDefaultWhat it does
bbmAtlas.server.modeautoRun BBM-Atlas (auto) or use one already running (external)
bbmAtlas.server.urlhttp://127.0.0.1:8000The server, in external mode
bbmAtlas.pythonPathemptyThe Python to run BBM-Atlas with
bbmAtlas.index.onStartuptrueIndex the workspace when the server starts
bbmAtlas.index.onSavetrueRe-index a folder after a file in it is saved
bbmAtlas.impact.maxDepth3How many hops impact analysis follows
bbmAtlas.impact.includeTestsfalseAlso list the tests that cover what a change affects
bbmAtlas.codeLens.enabledtrueShow the Impact code lens
bbmAtlas.mcp.enabledtrueOffer the tools to the editor's AI assistant

Keys and privacy

  • The API key and the licence key (BBM-Atlas: Enter Licence Key, passed to the server the extension starts) are kept in VS Code's secret storage, never in settings.
  • The server the extension starts listens on loopback only.
  • The extension sends no telemetry.

Known limits

  • The server the extension starts takes a new port each time, so a copied MCP configuration lasts one session. For a fixed address, run bbm-atlas serve and use external mode.
  • Outside any function, Analyze Impact analyses the whole module.