JavaScript: unindent on backspace

I'm using 4 spaces as a identation for Python and JavaScript code.
If i press 'backspace' it will just remove one space in JavaScript, how i can setup unindent on backspace? (this case works fine for Python).

JavaScript:
function foo() {
....|var bar = 1;
}

after pressing backspace
function foo() {
...|var bar = 1;
}


Python:
def foo():
....x = 1

after pressing backspace
def foo():
x = 1
1 comment
There is no way to configure this behavior; it's specific to Python. You're welcome to file a YouTrack issue at http://youtrack.jetbrains.com/
0

Please sign in to leave a comment.