In my IntelliJ Idea 13.1.2 IDE I keep running into situations where I\'m selecting on a click and drag via my laptop touch pad. I keep accidentally clicking and dragging text an
In WebStorm 2020.1 (and presumably in other Jetbrains IDEs), the related option 'Move code fragments with drag-and-drop' is in Preferences > Editor > General:
Unchecking the checkbox does the trick without unwanted side effects such as also disabling the drag-and-drop operations for files etc.