Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Reverse Deps SidebarNew to Visual Studio Code? Get it now.
Reverse Deps Sidebar

Reverse Deps Sidebar

hudachang

|
20 installs
| (0) | Free
Show reverse dependency tree in VSCode sidebar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Reverse Deps Sidebar

Reverse Deps Sidebar is a Visual Studio Code extension that helps you quickly understand who depends on the currently opened file.
It analyzes reverse dependencies and builds a tree upward until the top-level entry points.

This is especially useful for large frontend or Node.js projects where understanding module relationships is difficult.


Features

  • Reverse dependency analysis
  • Dependency tree view from current file to top-level parents
  • One-click refresh
  • Click to open files directly from the tree

How It Works

  1. Open any file in the editor.
  2. Open the Reverse Deps Sidebar view.
  3. Click Refresh Reverse Dependency Tree.
  4. The extension will:
    • Analyze which files import the current file
    • Resolve parent dependencies recursively
    • Build a tree until no further parents are found

Usage

Refresh Dependency Tree

  • Click Refresh Reverse Dependency Tree in the sidebar
    or
  • Run the command from the Command Palette:
Reverse Deps: Refresh

Open File

  • Click any node in the dependency tree to open the file.

Supported Imports

  • ES Modules (import ... from ...)
  • CommonJS (require())

Use Cases

  • Understanding complex dependency chains
  • Tracing shared utilities or components
  • Refactoring with confidence
  • Debugging unexpected side effects

Requirements

  • Visual Studio Code 1.80.0+
  • JavaScript / TypeScript projects

Known Limitations

  • Dynamic imports may not always be resolved
  • Large projects may take longer to analyze

Commands

Command Description
Reverse Deps: Refresh Rebuild the reverse dependency tree

Release Notes

0.1.0

  • Initial release
  • Reverse dependency analysis
  • Tree view and file navigation

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft