Provides definitions for commonjs requires in your code for quick navigation. Works with commonjs modules and import module system.
Inspired by HookyQR's Node Module Creator and Viewer, this extension provides similar funcitonality with better module resolving system in cost of much less resources needed. You should use only one extension at the same time for the better experience.
In VSC press Ctrl+Shift+P (Cmd+Shift+P on Mac) then type ">ext install", hit enter, search "Node modules resolve".
Still confused? Click "Get Started" above.
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.
- Fix for new version
- Enable plugin in JavascriptReact, TypeScript and TypeScriptReact
- Initial release
You can configure this plugin via the "javascript.commonjs.resolve" properties in your workspace/user preferences.
Feel free to contribute!