Atom Packages Directory

a package directory for a text editor of the 21st Century

Node Resolvertwo by Hugh Kennedy

Install with:
    apm install node-resolvertwo
  

node-resolver stable

Atom plugin to jump to a module’s file from its require statement.

node-resolver

Usage

  1. Move your cursor to a require statement.
  2. Open the command palette and run the “Node Resolver: Open Selected Dependencies” command.
  3. The selected file will open.

Note that you can also select a range of text and run the command to open up all of the files required within that range.

If you’d like to add a shortcut for this, I’d recommend adding the following to your keymap.cson:

cson '.workspace': 'ctrl-alt-o': 'node-resolver:open-selected-dependencies'

License

MIT. See LICENSE.md for details.

Keywords: atom, file, navigation, plugin, require, resolve Suggest keywords
Fork me on GitHub