Home

Awesome

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:

MappingActionDescription
Cmd+Shift+jImport wordImport the module for the variable under the cursor.
Cmd+Shift+iFix importsImport any missing modules and remove any modules that are not used.
Cmd+Shift+kGo to wordGo to the module of the variable under the cursor.