This package takes care of trailing commas when you moving lines in json with 'editor:move-line-up' and 'editor:move-line-down'.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
lib
spec
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

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.