14

I am working on Eclipse, backspace key works all fine but suddenly it's started working like delete key (When press backspace we expect to delete backward characters but its deleting front characters).

Is their its an Eclipse functionality? or bug I am not sure. If functionality then let know how to make it correct.

It's really a weird type of issue. Not able to work smoothly.

River
  • 8,585
  • 14
  • 54
  • 67
murtaza.webdev
  • 3,523
  • 4
  • 22
  • 32
  • Possible duplicate of [Backspace key is reverted in Eclipse Mars](http://stackoverflow.com/questions/33823185/backspace-key-is-reverted-in-eclipse-mars) – Rüdiger Herrmann Feb 23 '16 at 13:09

3 Answers3

39

Got solved:

Go to "Window -> Preferences". Then inside the tree navigate to "General -> Keys".

In the right side of the window, type "Delete" where it says "type filter text".

Find the COMMAND: Delete, BINDING: Backspace and click on UnBind Command button at the bottom. Click Apply, then OK.

Its done.

Thanks to @Javich

murtaza.webdev
  • 3,523
  • 4
  • 22
  • 32
  • 2
    Nice solution. The question that comes to mind, though, is how did this happen in the first place? – Pixelstix May 28 '18 at 15:50
  • then ,why this happens? – SpaceNet Aug 29 '18 at 07:19
  • 4
    I know this is late, but it just happened to me on Windows 10! Mid way though typing, backspace starts deleting! The solution works, but I do wonder how this happened. – Steve Nov 08 '19 at 12:06
4

It is indeed a Eclipse problem. It happened to me on Eclipse Luna Windows 8 (Java 8). I also ran that same Eclipse on Ubuntu and it didn't happen.

Long story short, here is a workaround: Go to "Window -> Preferences". Then inside the tree navigate to "General -> Keys".

In the right side of the window, type "Delete" where it says "type filter text". Find the "Delete Previous" binding and click on it. Click on the " < " button in right of the "Binding" text area and select "Backspace". Click "Apply", then "OK".

Done. You are good to go.

Fix Example on Dialog

whoKnows
  • 905
  • 2
  • 9
  • 27
Javier Z.
  • 784
  • 4
  • 10
0

Go to "Window -> Preferences >> General -> Keys". type "Delete" where it says "type filter text".

Find the COMMAND: Delete, BINDING: Backspace and click on UnBind Command button at the bottom. Click Apply, then OK.

Akitha_MJ
  • 3,882
  • 25
  • 20