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
Open any file in the editor.
Open the Reverse Deps Sidebar view.
Click Refresh Reverse Dependency Tree.
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.