Dependency Impact Analyzer
AI-powered dependency impact analysis for VS Code. Instantly see which files break when you change a function signature, remove a method, or modify a class — across Python, Java, JavaScript/TypeScript, Go, Rust, C#, and Ruby.
Highlights
- Live impact preview — see affected files as you type, before saving
- Transitive analysis — trace A → B → C impact chains
- AI suggestions — Claude via Amazon Bedrock explains breaks and suggests fixes
- Security audit — runs npm audit / pip-audit / cargo audit automatically
- Circular dependency detection — find import cycles
- Dead code detection — discover unused symbols
- Interactive dependency graph — force-directed visualization
- Report export — HTML, Markdown, JSON
- Git diff analysis — compare against HEAD for precision
- Impact history — track past analysis sessions
- Pre-commit hook — warn on breaking changes before committing
Quick Start
- Open a project with a supported dependency file (
package.json, requirements.txt, go.mod, etc.)
- The extension activates automatically and loads your dependencies
- Edit a function — the Impact Preview panel shows affected files in real time
- Use the Dependency Impact sidebar to browse all dependencies
Supported Languages
| Language |
Dependency Files |
| Python |
requirements.txt, Pipfile, pyproject.toml, setup.py |
| Java |
pom.xml, build.gradle |
| JavaScript/TypeScript |
package.json |
| Go |
go.mod |
| Rust |
Cargo.toml |
| C# |
*.csproj |
| Ruby |
Gemfile |
AI Setup (Amazon Bedrock)
Ctrl+Shift+P → Dependency Impact: Configure Amazon Bedrock Credentials
Requires an AWS account with Bedrock access and Claude models enabled. Credentials are stored securely in VS Code's SecretStorage.
See docs/GUIDE.md in the extension folder for full setup instructions and all feature documentation.
Key Commands
| Command |
Shortcut via Command Palette |
| Analyze active file |
Dependency Impact: Analyze Dependency Impact |
| Show dependency graph |
Dependency Impact: Show Dependency Graph |
| Detect circular deps |
Dependency Impact: Detect Circular Dependencies |
| Find dead code |
Dependency Impact: Find Unused Symbols |
| Run security audit |
Dependency Impact: Run Security Audit |
| AI suggestions |
Dependency Impact: Generate AI Refactoring Suggestions |
| Generate PR description |
Dependency Impact: Generate PR Description |
| Export HTML report |
Dependency Impact: Export Impact Report (HTML) |
| Open settings UI |
Dependency Impact: Open Settings UI |
Configuration
All settings are available via:
Dependency Impact: Open Settings UI (visual panel)
- VS Code Settings → search "dependencyImpact"
settings.json directly
Key settings:
{
"dependencyImpact.enableRealTimeAnalysis": true,
"dependencyImpact.enableAISuggestions": false,
"dependencyImpact.enableGitDiffAnalysis": false,
"dependencyImpact.enableTransitiveAnalysis": true,
"dependencyImpact.enableSecurityAudit": true,
"dependencyImpact.bedrockRegion": "us-east-1",
"dependencyImpact.bedrockModelId": "anthropic.claude-3-5-sonnet-20241022-v2:0"
}
Documentation
Full feature guide: docs/GUIDE.md (included in the extension)
License
MIT