Atom plugin for ImportJS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
keymaps Extract atom-import-js from import-js Mar 18, 2016
lib
menus Extract atom-import-js from import-js Mar 18, 2016
.eslintrc.js
.gitignore Extract atom-import-js from import-js Mar 18, 2016
.importjs.js
CONTRIBUTING.md Add publishing instructions to contributing docs Apr 29, 2016
LICENSE Extract atom-import-js from import-js Mar 18, 2016
README.md
package.json Prepare 0.21.0 release Sep 10, 2018

README.md

ImportJS Atom package

This is the Atom package for ImportJS.

Installing

  1. Install the atom-import-js package via Atom's package manager.

  2. Configure import-js for your project (there's no need to globally install import-js for the atom plugin)

  3. Open the root of your project as a folder (File -> Add Project Folder…)

  4. Import a file!

Default keybindings

By default, atom-import-js attempts to set up the following keybindings:

Mapping Action Description
Cmd+Shift+j Import word Import the module for the variable under the cursor.
Cmd+Shift+i Fix imports Import any missing modules and remove any modules that are not used.
Cmd+Shift+k Go to word Go to the module of the variable under the cursor.