English | 简体中文
Explore dependencies and dependents (references) in tree view.
Analysis dependencies and dependents, and display through the tree view.
If we locked, the tree will not change when open another files.
dependencyDependent.entryPoints
config entry points to find dependencies and dependents. Default:
["src/**/*.{ts,js,tsx,jsx,vue}", "app/**/*.{ts,js,tsx,jsx,vue}"]
By default, all ts,js,tsx,jsx,vue
files in src
and app
will as entry points. If the entry points of your project are not in the default setting, you can add them.
dependencyDependent.excludes
config finding dependencies in these conditions. Default:
["node_modules"]
If you need to excludes other files, you can add them. If you want to find the dependencies and dependents of node_modules
, you can delete the node_modules
in the dependencyDependent.excludes
.
You can modify any webpack configuration in .vscode/dependency-dependent-webpack-config.js
.
-
Some dependencies may be imported according special configurations (for example: webpack alias), these dependencies can't be collected by default, you can config webpack to collect them.
-
Because update the dependency data may take lots of time. This extension will not automatically update the dependency data, you need to manually click the refresh button to update the dependency data.
code --install-extension zjffun.dependency-dependent