Configure eclipse so that backspace unindents

Having eclipse configured to use space instead of tabs, is it possible to configure eclipse so that the backspace key unindents like the tab key indents?

A demonstration to clarify what I mean with backspace unindent (the vertical bar stands for cursor position and the dots for spaces):

if(bar == 0) {
|foo = 0;
}

Pressing tab will indent 4 spaces:

if(bar == 0) {
....|foo = 0;
}

Pressing backspace only goes back 1 space:

if(bar == 0) {
...|foo = 0;
}

What I want is that it goes back 4 spaces:

if(bar == 0) {
|foo = 0;
}

Answers


You know that "shift+tab" will outdent a line already, correct?

Hmmm, I just took a look at preferences->general->keys. I only see indent line there, no outdent (or anything useful under "dent").

Personally, I would say that backspace is the key I hit second most often, after space. Rebinding it would drive me bonkers.


Need Your Help

python pandas convert dataframe to dictionary with multiple values

python dictionary pandas

I have a dataframe with 2 columns Address and ID. I want to merge IDs with the same addresses in a dictionary

Inconsistent results when evaluating an empty array for ng-show and ng-class

javascript angularjs ng-class ng-show

I am using a controller to load an array and then showing and hiding content based on whether the array is loaded or not. However, the value of the array evaluates differently for different instanc...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.