Skip to content

hughsk/atom-require-opener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-require-opener

Atom plugin for selecting one or more require statements and opening up their documentation on nodejs.org/GitHub/npm or opening their target files.

atom-require-opener

Usage

Open the Command Palette, and run one of the following commands:

  • Require Opener: Open Selection on Npm
  • Require Opener: Open Selection on Github
  • Require Opener: Open Selection in Atom
  • Require Opener: Open Selection's README

Node.js core modules will be opened on nodejs.org's API documentation for the two former cases, and ignored in the latter case.

Keybindings

To add your own keybindings for this package, simply open your keymap file and include something along the following lines:

'atom-workspace':
  'cmd-ctrl-shift-alt-g': 'require-opener:open-selections-on-npm'
  'cmd-ctrl-shift-alt-n': 'require-opener:open-selections-on-github'
  'cmd-ctrl-shift-alt-o': 'require-opener:open-selections-in-atom'
  'cmd-ctrl-shift-alt-r': 'require-opener:open-selections-readmes'

License

MIT. See LICENSE.md for details.

About

Atom plugin for opening the currently selected require's page on npm

Resources

License

Stars

Watchers

Forks

Packages

No packages published