score:510

Accepted answer

in visual studio and most other half decent ides you can simply do shift+tab. it does the opposite of just tab.

i would think and hope that the ides you mention support this as well.

score:0

you can also change the shortcut. use the command+k command+s shortcuts to open the keyboard shortcut menu and search for the "tab" then find the "outdent" on the list.

score:2

don't know if anyone is still looking here, but you can do this by going to window menu > preferences, then open the general list, choose keys. scroll down the list of keys until you see "shift left". click that. below that you'll see some boxes, one of which lets you bind a key. it won't accept shift-tab, so i bound it to shift-`. apply-and-close and you're all set.

score:5

shift-tab does that in flex builder (based on eclipse) - so it hopefully should work in regular eclipse :)

score:5

in pycharm just use shift+tab to move a block of code left.

score:6

this workaround works most of the time. it uses eclipse's 'smart insert' features instead:

  1. control x to erase the selected block of text, and keep it for pasting.
  2. control+shift enter, to open a new line for editing above the one you are at.
  3. you might want to adjust the tabbing position at this point. this is where tabbing will start, unless you are at the beginning of the line.
  4. control v to paste back the buffer.

hope this helps until shift+tab is implemented in eclipse.

score:6

shift-tab doesn't seem to work on multi-lines in aptana. it also doesn't work on single lines with a single preceding space. any workarounds? i use shift-tab (outdent) to fix badly formatted code all the time.

i miss netbeans ...

update: it works on multi-newlines, if the multi-lines have the same level of indentation. it should just continue outdenting the other lines that haven't reached the beginning of the new line yet. is there an option to change this i wonder?

score:7

in general shift + tab works for any environment.

score:11

here is a general answer for untab :-

in python idle :- ctrl + [

in elipse :- shitft + tab

in visual studio :- shift+ tab

score:23

shift-tab outdents again :)

here's where the standard shortcut keys are covered:

http://wiki.eclipse.org/user_interface_guidelines#standard_accelerators

you'll find many of the more esoteric ones here:

http://wiki.eclipse.org/faq_what_editor_keyboard_shortcuts_are_available%3f


Related Query

More Query from same tag