madskristensen / WebEssentials2019

Other
49 stars 8 forks source link

Greedy (or Hungry) Backspace #7

Open kanetik opened 4 years ago

kanetik commented 4 years ago

One of the few things I miss about Android Studio (i.e. IntelliJ) was it's "Greedy Backspace," which means that when a cursor has nothing but whitespace to its left, and you hit backspace once, instead of backing through each whitespace character, it jumps to the end of the prior line. I would love to have an extension to allow such a thing.

In a related feature, you could maybe implement "Eager Enter" (I'm making this one up), where when you get to a point where the only characters to the RIGHT of the cursor are whitespace, that when you hit Enter, it DELETES those whitespace characters, and goes to the beginning of the non-whitespace characters on the next line.