atom-move-line
This package takes care of trailing commas when moving lines in json with 'editor:move-line-up' and 'editor:move-line-down'
pvorona 968 4 0.3.3 MIT GitHub

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.

demo

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.