Skip to content

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

License

Notifications You must be signed in to change notification settings

hughsk/atom-node-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published