When I press the End
key (in Windows) to get to the end of the line in Eclipse, I don't get to the actual end of the line if there's trailing whitespace. Instead I get to the beginning of the trailing whitespace, and subsequently pressing End
causes the cursor to alternate between the end and beginning of the whitespace. Is there a way to make it always go to the end?
You can turn off »Smart caret positioning at line start and end« in Preferences → General → Editors → Text Editors
. Unfortunately, this seems to be only switchable for both the Home
and End
keys at the same time. So you'll have to decide whether you want a working End
key or a smart Home
key.
Personally, I need the Home
key more, so I leave it as it is. I can't think of any example of a scenario where the End
behavior of Eclipse could be of any use. The ways of the Eclipse devs seem to be beyond human understanding.
(Used Eclipse version: Mars.2/4.5.2)