Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Node modules navigationNew to Visual Studio Code? Get it now.

Node modules navigation

gegeke

|
15,430 installs
| (3) | Free
Node modules navigation
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Provides definitions for commonjs requires in your code for quick navigation. Works with commonjs modules and import module system.

Install

In VSC press Ctrl+Shift+P (Cmd+Shift+P on Mac) then type ">ext install", hit enter, search "Node modules navigation".

Click "Get Started" above.

Usage

You can navigate to the module in 2 ways:

  • Set your cursor inside to the module name string and click F12.
  • Hold CMD or CTRL key and hover over the module name. It will become underlined if the dependancy is resolved and it will show the popup with the code lens.

Other

support .less and .css navigation. support webpack loader prefix like bundle-loader?lazy! which you can indicate in javascript.commonjs.resolve.customLoader.

Configuration

You can configure this plugin via the "javascript.commonjs.resolve" properties in your workspace/user preferences.

Contribution

Feel free to contribute!

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