Here's two scenarios:
Eclipse (or perhaps even other programs?): If I indent, such as pressing tab or similar: Step 1: ( | is the caret )
public text(){
|
}
Step 2: I press backspace:
public text(){
|
}
See how one press of backspace moves back a whole indent since it's all empty space? Similarily, if I indent four times with TAB I'd press 4 backspaces, each moving one empty spaced indent.
Is this possible with IntelliJ because right now, I'm forced to spam the backspace key because it only moves back one step? As in, if I wanted to achieve the same result as in Step 2, I'd have to backspace like 4-5 times.
Just in case someone else stumbles upon this in the future, this is now a standard option found at:
Preferences -> Editor -> General -> Smart Keys. Then under the Backspace section choose the Unindent option you like
You may want to try this really handy plugin for intellij: hungry backspace It "eats" all the white spaces when you hit backspace! Something close to that but not as good would be typing ctrl + backspace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With