This package provides the following services:
adonis-resolver
Atom plugin to jump to either a module's file from its use or make statement in a Javascript file or an included template from it's @[!]component/@include/@extends/@layout statement in an Edge file. NOTE: The grammar for Edge files is not included in this plugin, so to follow links in them a plugin such as Edge is needed.
Usage
- Move your cursor to the textual portion of the statement to resolve.
- Open the command palette and run the "Adonis Resolver: Open Selected Dependencies" command.
- The selected file will open.
If you'd like to add a shortcut for this, I'd recommend adding the following
to your keymap.cson
:
'.workspace':
'ctrl-alt-o': 'adonis-resolver:open-selected-dependencies'
Alternatively, you can use Hyperclicking on a statement to do the above more quickly.
License
MIT. See LICENSE.md for details. -->