views:

704

answers:

3

Well, hopefully the question is self-explanatory.

It's so easy to select a block of code and tab out, but how about the reverse?

Currently, I just search & replace for whitespace at the beginning of the line. Anything faster?

+2  A: 

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.

NathanE
thanks, that did it.
Keith Bentrup
A: 

Shift-tab does that in Flex Builder (Based on Eclipse) - SO it hopefully should work in regular eclipse :)

Richie_W
+1  A: 

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

Jeremy Smyth
+1 thx, good link
Keith Bentrup