Atom Packages Directory

a package directory for a text editor of the 21st Century

Import Sort by Renke Grunwald (https://github.com/renke)

Install with:
    apm install atom-import-sort
  

atom-import-sort

Sort ES2015 (aka ES6) imports directly from within Atom. Both JavaScript and TypeScript are supported.

atom-import-sort in action

After you installed the package you can sort your imports using the Ctrl + Alt + o key binding or trigger it manually from the command palette with the Import Sort: Sort command.

The package also offers a “sort on save” option to automatically sort your imports whenever you save a JavaScript or TypeScript file. It’s disabled by default.

See import-sort for information about customizing the way imports are sorted.

Keywords: es6, eslint, import-sort, import, sort, typescript Suggest keywords
Fork me on GitHub