Handy unassigned Keyboard shortcuts for Eclipse

Actionscript, Apple, Design, Flex Add comments

I’m getting quite into my keyboard shortcuts in Eclipse now and can honestly say that with a bit of effort and perseverance they are well worth taking the time to learn. There are two that aren’t assigned that are very handy to set up should you be inclined. They are the Shift Left & Shift Right commands for indenting your code. At the moment I can write, duplicate, delete & select lines of code with my keyboard but when it comes to indenting the selections I always have to reach out for the mouse. Today I decided enough was enough and I decided to assign these commands to some keys.

Go to the preferences panel in Eclipse and under General / Keys you’ll find a handy editor for assigning keyboard combination’s to common Eclipse commands for all of the perspectives you have loaded. Find the Shift Left & Right commands within the Edit category and then assign them to whatever you want. I have chosen alt-cmd-LEFT or alt-cmd-RIGHT combo as this will work nicely when I’m using alt-up or down to move lines of code around.

Digg!

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in