Skip to content


Key Shortcut for Block Indenting in Eclipse

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

Posted in ColdFusion.

7 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. 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?

  2. 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).

  3. Cash said

    Has anybody used snapp mx from Netcentrics (www.snappmx.com)? How would it compare to Eclipse?

  4. Srini said

    Any one know, what’s the key for auto indent the selection?

  5. tvx said

    Ctrl+I :c)

  6. vasya said

    nice one!

  7. Sergey said

    Auto indent in Eclipse Helios:
    Access through Source->Correct Indentention
    or, as written above by tvx,
    using Ctrl+I

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.