Drag & Drop Lines of Code



I have been struggling to find a package or anyway similar to do the following:

  • Highlight a line of code by clicking the line number
  • Click & drag to the location required

Sublime has this function, and I used it a lot.



Visual Studio Code has it too.
Perhaps someone can port it over to Atom?


What happens to me (and I don’t think I have an external package for that) is that the entire line is highlighted when I click on the line number (including the newline at the end of it, so the cursor is actually moved to the beginning of the next line. When it comes to drag around, probably you’re asking for something like this? Maybe a combination of the Atom native behavior and this package could be the solution.