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
7 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
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?
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).
Has anybody used snapp mx from Netcentrics (www.snappmx.com)? How would it compare to Eclipse?
Any one know, what’s the key for auto indent the selection?
Ctrl+I :c)
nice one!
Auto indent in Eclipse Helios:
Access through Source->Correct Indentention
or, as written above by tvx,
using Ctrl+I