atom-import-sort

Sort ES2015 (aka ES6) imports. Manually – or automatically when you save your JavaSript or TypeScript files.

Renke Grunwald

10,640

27

6.0.0

ISC

GitHub

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.