I have one last thing to add here for Eclipse as I’m pretty much done configuring it on my new workstation. Here is how you can setup block indenting in Eclipse (being able to highlight a group of text, and shifting it to the left or right):
- Click on Window, then Preferences
- In the “Preferences” dialog box which pops-up, traverse down the tree on the left to Workbench > Keys
- Click on the Modify Tab
- Towards the bottom, change the “When” pulldown to “Editing Text”
- Under the “Command” heading in the “Category” pull down, select “Edit”
- Under the “Command” heading in the “Name” pull down, select “Shift Left”
- Under the “Key Sequence” heading in the “Name” pull down, enter the key combination in this box which you’d like to use to perform the action of moving a block of text to the left. I used Ctrl+Alt+[
- Repeat this process only using “Shift Right” for the Name pull down under “Command”, with a matching key sequent to use for the action
- Click “OK” to finish
By Bill November 19, 2004 - 7:43 am
im confused, isn’t block indenting, outdenting, already mapped to “TAB” and “SHIFT-TAB”?
Or were you just not happy with that mapping and that is why you wanted to configure it?
By Brandon November 19, 2004 - 9:56 am
Ahh, I didn’t even look at that, but good to know. I added this mapping because it’s how Dreamweaver does block indenting which I’m still used to at this point after switching to it for awhile (before I made the jump to Eclipse this Spring).
By Cash November 24, 2004 - 3:30 pm
Has anybody used snapp mx from Netcentrics (www.snappmx.com)? How would it compare to Eclipse?
By Srini November 30, 2007 - 2:21 pm
Any one know, what’s the key for auto indent the selection?
By tvx July 23, 2008 - 5:54 am
Ctrl+I :c)
By vasya October 14, 2009 - 2:29 pm
nice one!
By Sergey June 25, 2010 - 6:11 am
Auto indent in Eclipse Helios:
Access through Source->Correct Indentention
or, as written above by tvx,
using Ctrl+I
By Marcus March 24, 2012 - 9:18 am
Thanks!