Tuesday, April 21, 2009

Home and End keys in Eclipse 3.4

Eclipse doesn't honor the OS wide key dictionary settings. This URL has a little info - http://www.kelek.com/blog/2006/09/16/fixing_home_end.html

However those instructions are for eclipse 3.2. In eclipse 3.4 do the following:

In Preferences|General|Keys
Home/End of line
  1. Find the 'Line End' command (use the filter)
  2. Copy the command (copy btn) - select the new version of the command.
  3. Click in the 'Binding' edit box.
  4. Hit the 'End' key
  5. Choose 'Editing Text' in the the 'When' combo-box.
Fix Text Selection
  1. Find the 'Select Line End' command
  2. Make sure it is selected and click the 'Copy' btn.
  3. Get focus in the 'Binding' edit box.
  4. Type a Shift+End
  5. Change 'Windows' to 'Editing Text' in the the 'When' combo-box.
Rinse & Repeat for Home - it's key commands are 'Line Start' and 'Select Line Start'

Home/End of text
  1. Find the 'Text End' command (use the filter)
  2. Copy the command (copy btn) - select the new version of the command.
  3. Click in the 'Binding' edit box.
  4. type ctrl+end
  5. Choose 'Editing Text' in the the 'When' combo-box.
Fix Text Selection
  1. Find the 'Select Text End' command
  2. Make sure it is selected and click the 'Copy' btn.
  3. Get focus in the 'Binding' edit box.
  4. Type a Ctrl+Shift+End
  5. Change 'Windows' to 'Editing Text' in the the 'When' combo-box.
Rinse & Repeat for Home - it's key commands are 'Text Start' and 'Select Text Start'

If anybody knows where this config info is saved please comment and I'll drop the file somewhere so people can just d/l it. I couldn't find it in my workspace settings.

No comments:

Post a Comment