Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/galooshi/atom-import-js

Atom plugin for ImportJS
https://github.com/galooshi/atom-import-js

atom atom-plugin importjs javascript

Last synced: 2 months ago
JSON representation

Atom plugin for ImportJS

Awesome Lists containing this project

README

        

# 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](https://github.com/galooshi/import-js#configuration) (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.