Home

Awesome

VS Code ImportJS extension

This is the VS Code extension for ImportJS.

Installing

  1. Install import-js globally:

    npm install --global import-js
    
  2. Configure ImportJS for your project

  3. Open the root directory of your project (File -> Open…)

  4. Import a file!

Default keybindings

By default, vscode-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.