Atom Packages Directory

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

Move Line

Install with:
    apm install atom-move-line

atom-move-line package

This package takes care of trailing commas when moving lines in json with ‘editor:move-line-up’ and ‘editor:move-line-down’. It also removes any trailing spaces from the moved lines.


Features - Support of multiple cursors - Support of multiline selections - Works for multiline objects and arrays - Moving comma is collapsed in undo/redo history with move-line command - Cursors and selections are preserved

The base of this functionality is inspired by JetBrains products.

Please, report any bug You find.

Keywords: json, javascript, typescript Suggest keywords
Fork me on GitHub