Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Project Map — Agent Workspace ExplorerNew to Visual Studio Code? Get it now.
Project Map — Agent Workspace Explorer

Project Map — Agent Workspace Explorer

Wita Zhang

|
4 installs
| (0) | Free
Explore your workspace's Skills, agents, tools and MCP connections, with source evidence. Local analysis, no API key.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Project Map for VS Code

Explore the Skills, agents, tools and MCP connections declared in your workspace. Select an object or relationship, inspect its evidence, and open the corresponding source line in the editor.

Project Map reads and parses files within the VS Code extension host. It needs no API key, model, account or local server. A separate worker performs analysis so parsing does not occupy the editor's extension thread.

Extension ID: witazhang.project-map. Version 0.2.1 uses the standard release channel for desktop VS Code 1.105 or newer. Each release requires CI verification, Extension Host integration and packaging on Windows, macOS and Ubuntu with stable VS Code, and on Ubuntu with VS Code 1.105.0. Release verification.

Project Map in VS Code's dark theme, showing workspace objects and source evidence

Install

Choose Install on Visual Studio Marketplace, or run:

code --install-extension witazhang.project-map

For a locally built package, run Extensions: Install from VSIX… in VS Code and select project-map-0.2.1.vsix. Alternatively, from extensions/vscode:

code --install-extension artifacts/project-map-0.2.1.vsix

The extension source lives in extensions/vscode in the Project Map repository. To build it from the repository root:

cd extensions/vscode
npm ci
npm run package

Building requires Node.js 22.18+ or 24.11+. Users installing the VSIX do not need a separate Node.js installation. All runtime dependencies and license notices are bundled.

Explore a workspace

  1. Open a folder containing agent configuration, Skills, Python or JS/TS source.
  2. Click the Project Map icon in VS Code's Activity Bar, then click your folder under Workspace Maps. The map opens in an editor tab.
  3. Search or filter the objects, then select a card to explore its relationships and source evidence.
  4. Open the definition or relationship evidence in the native editor. Project Map resolves the location from its current analysis snapshot.
  5. Save a source file to update the map, or use the refresh button in the map or sidebar toolbar.

The sidebar lists each folder in a multi-root workspace. Select another folder to open its map. If no folder is open, the sidebar offers Open Folder. The map analyzes one selected folder at a time. You can also use Project Map: Open Workspace Map from the command palette or a folder's Explorer context menu.

Drag the map's panel boundaries to adjust their widths. Double-click a boundary to reset it; a focused boundary also supports arrow keys. The interface follows VS Code's color theme and provides Chinese and English product labels while preserving original source text.

What the map means

The map describes static declarations and references: Skills and agent metadata, tool registrations, MCP configuration, source modules and related project resources. Relationship evidence identifies why a connection was created.

A textual mention or directory membership does not establish that a tool runs at runtime. Computed names, cross-file instance flow and unsupported language patterns may remain unlinked. The map is not a runtime trace or permission audit.

Large projects produce an explicitly partial map when limits are reached. Built-in exclusions skip dependency directories, generated output and sensitive configuration paths; scanning also skips symbolic links. Review the analysis details when a map is incomplete. Avoid treating any partial map as an exhaustive inventory.

Settings

Setting Default Purpose
projectMap.autoRefresh true Refresh after supported files are created, saved, renamed or deleted.
projectMap.refreshDelay 500 Wait this many milliseconds after a change; allowed range is 200–5000.
projectMap.exclude [] Additional workspace-relative files or directories to skip. Directory entries also exclude descendants. These are paths, not glob patterns.

For example, to leave large fixtures out of the map:

{
  "projectMap.exclude": ["fixtures/large-projects", "generated/client.ts"],
  "projectMap.refreshDelay": 800
}

Built-in exclusions remain active regardless of these settings. Project files are never imported as executable modules or used as analysis plugins.

Privacy and workspace trust

Analysis does not call an external service or send telemetry. Source files and analysis snapshots are held in memory, and the Webview has no network access. Exports happen only after an explicit action and use VS Code's save dialog. Saved navigation preferences can include object identifiers, relative paths and search text.

Remote file-system providers can use their own network connection, and an extension host in a remote VS Code window runs on that host. This package uses VS Code's file-system API to preserve provider URIs; Remote SSH, WSL and virtual-provider support still require their own verification. Browser-only vscode.dev is not an initial release target.

See PRIVACY.md for the data lifecycle and export behavior.

Troubleshooting

Symptom Check
No project objects Confirm the chosen folder contains supported source or metadata, and check your extra exclusions.
Some files or objects are missing Read the partial-analysis details. Size, traversal and file-count limits deliberately bound work. Dynamic definitions can also be unrecognized.
The map does not reflect a change Check projectMap.autoRefresh, save the document, or run the refresh command. Unsaved editor text is not the on-disk snapshot.
A source action is rejected Refresh the map. Locations from an older analysis generation are intentionally not reused.
A large project is still analyzing Cancel the current operation, choose a smaller folder, or add exclusions. Cancellation keeps an earlier usable snapshot when one exists.
An extension update looks stale Close the map, reload the VS Code window, and open it again. Include the extension and VS Code versions in a bug report.

When reporting a problem, include the smallest synthetic file that reproduces it, the selected folder layout, expected objects and actual behavior. Do not attach private repository contents, tokens or exported graphs containing private names.

Develop and verify

This package includes a recorded parser/UI snapshot under vendor/project-map; it does not depend on a sibling checkout. UPSTREAM.json records the imported files and their hashes. Extension-specific changes to that snapshot must be documented when synchronizing it.

npm ci
npm run verify
npm run test:integration
npm run package

The integration runner starts a separate VS Code Extension Development Host. Linux CI uses xvfb-run -a npm run test:integration. The four-job Windows/macOS/Ubuntu stable and Ubuntu 1.105.0 matrix passed at commit 124a1b3a18ca46f711b943c1bdf90848aba7293a, including actual Extension Host checks and VSIX packaging. Test execution can download VS Code; project analysis itself does not need a network connection.

See CONTRIBUTING.md for component boundaries, checks and release preparation.

Release preparation

The registered publisher is witazhang (display name WitaZhang). Before each submission, inspect the resulting VSIX and rerun the required checks for the release commit. The listing includes an actual editor screenshot. RELEASE_PUBLISHER=witazhang npm run release:check -- path/to/package.vsix validates the confirmed identity and package contents; placeholder publishers remain blocked.

The manually dispatched .github/workflows/vscode-publish.yml workflow at the repository root publishes through GitHub Actions Trusted Publishing. It first requires the complete matrix in vscode-ci.yml to pass. It requires witazhang as the confirmed publisher input and a configured marketplace environment. As of 2026-11-28, that environment permits only main and has no required reviewers. The active Marketplace Trusted Publishing policy binds WItaZhang/project-map, vscode-publish.yml and the marketplace environment. The workflow publishes the inspected VSIX rather than rebuilding a different package at the final step. See Microsoft's publishing guide.

License

MIT; see LICENSE. The distributed package includes third-party license texts in dist/THIRD_PARTY_NOTICES.txt.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft