Can not unbind the key End to "text end" on the Eclipse Juno
Asked Answered
C

3

13

Any ideas?
Eclipse always asks me if "Text end" should be executed or "Line end" should be executed when I press the key END.
After I unbind the key bind of "Text end" on Preferences, Eclipse still asks me.

Version: Juno Release Build id: 20120614-1722

Clamper answered 11/9, 2012 at 10:24 Comment(2)
same problem, except with Ctrl+E. must be a bug.Bechtel
This is infuriating. Why is Eclipse hijacking my home and end keys? All text editors should have the same behavior in windows.Hauler
P
17

Apparently there is a bug in Juno such that there appears to be a key conflict for the HOME and END keys even when the preferences don't indicate one. The restore defaults button does not correct the problem unless you first create a conflict manually, and then use the restore defaults button.

  1. Go to Window->Preferences->General->Keys
  2. Make "Line Start" and "Text Start" both use ONLY the HOME key, to create a conflict.
  3. Make "Line End" and "Text End" both use ONLY the END key, to create a conflict.
  4. Click Apply and then OK
  5. Go again to Window->Preferences->General->Keys
  6. Click "Restore Defaults"
  7. Click Apply and then OK

This should put things back into sync, and fix the problem; at least it did for me on Juno for 32-bit Windows 7.

Pothole answered 28/4, 2013 at 3:56 Comment(3)
This worked for me but the issue seems to be fixed in the current version of Juno and the ADT version of Eclipse.Hauler
That works in my case as well for Eclipse Juno with Windows 7 64-bit. The same steps also work to fix "Shift+End" and "Shift+Home" combinations.Architrave
I also had this problem in Eclipse 4.3 Kepler 64 bit (20130614-0229) on Ubuntu 13.04.Distressed
R
1

I'm using Kepler version in Linux.

Close eclipse and open it solved my problem with home/end keys.

Reduced answered 13/4, 2016 at 13:16 Comment(0)
I
0

Sometimes when I do not have time to mess with making the conflict and resetting in Kepler/CFEclipse, adding Shift still works to get End, Ctrl+End, Home and Ctrl+Home to select the text, and then remember to use the left arrow to unselect after Home and right arrow to unselect after End.

Idolatry answered 11/12, 2013 at 14:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.