smarki / atom-node-resolver

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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

License

MIT. See LICENSE.md for details.

About

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

License:Other


Languages

Language:JavaScript 100.0%