Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Dependency & DependentNew to Visual Studio Code? Get it now.

Dependency & Dependent

zjffun

|
19 installs
| (1) | Free
Show dependencies and dependents.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Dependency & Dependent

English | 简体中文

Note1: 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.

Note 2: This extension will not automatically update the dependency data, you need to manually click the refresh button to update the dependency data.

Show dependencies and dependents.

view

Settings

settings

Entry Points

dependencyDependent.entryPoints config entry points to find dependencies and dependents. Default:

[
  "src/index.ts",
  "src/index.js",
  "src/index.tsx",
  "src/index.jsx",
  "src/index.vue",
  "src/main.ts",
  "src/main.js",
  "src/main.tsx",
  "src/main.jsx",
  "src/main.vue"
]

If the entry points of your project is not in the default setting, you can add them.

Excludes

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.

Config webpack

1. Click the “Config webpack” button

config webpack

2. Modify the webpack configuration for this extension

You can modify any webpack configuration in .vscode/dependency-dependent-webpack-config.js.

Install via CLI

code --install-extension zjffun.dependency-dependent

Release Notes

Contribute

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft