VSContext
VSContext is a single, free VS Code extension that builds a workspace symbol graph and provides two analysis tools:
- Execution trace from a selected function
- Impact analysis from a selected function
Screenshot

Commands
VSContext: Trace Path
VSContext: Impact
Installation
- Open VS Code.
- Open Extensions.
- Search for
VSContext.
- Click Install.
For local development build:
- Clone this repository.
- Run
npm install.
- Run
npm run compile.
- Press
F5 to start an Extension Development Host.
The VSContext view contains:
Workspace
Files with grouped functions, classes, and variables
Symbols grouped by type
- View title toolbar actions:
Trace Path and Impact
Usage
- Open a workspace with TypeScript, JavaScript, Python, Go, or Rust files.
- Open
VSContext from the Activity Bar.
- Expand
Workspace and browse indexed methods under Files.
- Select a function and run
VSContext: Trace Path from the view title toolbar.
- Select a function and run
VSContext: Impact from the view title toolbar.
- Click nodes in either analysis panel to jump to source.
Supported Indexing Scope
Scanned file patterns:
**/*.ts
**/*.js
**/*.tsx
**/*.jsx
**/*.py
**/*.go
**/*.java
**/*.rs
**/*.cpp
**/*.c
**/*.h
Ignored folders:
node_modules
.git
dist
build
out
.venv
venv
__pycache__
site-packages
These rules are enforced through vscode.workspace.findFiles.
Architecture
src/
extension.ts
graph/
graphBuilder.ts
symbolIndexer.ts
analysis/
executionTrace.ts
impactAnalysis.ts
tree/
contextTreeProvider.ts
webview/
executionPanel.ts
impactPanel.ts
utils/
workspaceScanner.ts
symbolResolver.ts
logger.ts
Configuration
vscontext.maxIndexedFiles: maximum files scanned for indexing.
vscontext.refreshDebounceMs: debounce delay before graph refresh.
vscontext.workerBatchSize: files per worker pre-scan batch.
vscontext.workerCount: worker thread count for pre-scan.
License
MIT
| |