11

I'm running Eclipse Version: Neon.2 Release (4.6.2) on Windows 10.

Certain shortcuts like ctrl+backspace (which should delete the previous word) aren't working.

Under preferances > General > keys the setting is set as follows:

+----------+--------------------------+
| Command  | Delete the previous word |
+----------+--------------------------+
| Binding  | Ctrl+Backspace           |
+----------+--------------------------+
| When     | Editing Text             |
+----------+--------------------------+
| Category | Text Editing             |
+----------+--------------------------+
| User     | U                        |
+----------+--------------------------+

5 Answers 5

32

Closing and opening the project fixed it.

2
  • 1
    I try several ways in stackoverflow, but only solution works
    – Neo Pham
    Commented Aug 2, 2018 at 11:50
  • Unfortunately, this simple solution didn't work for me. Nor did Ad Infinitum's solution. Unchecking the option to show the welcome screen on startup and restarting Eclipse (Vaibhav Pallod's answer) worked
    – so2
    Commented Mar 24, 2022 at 17:48
3

The easiest solution for me was to Restore Defaults in Preferences - General - Keys.

If you assigned some custom bindings it is possible that something went awry.

2

After the solutions presented here and the other similar questions don't work for me, i removed the .metadata and .recommenders file in the Eclipse Workspace and restart the Eclipse, i am able to use my shortcuts again.

Please note that if you remove these files, you will lose your customized shortcuts and some other configurations as well. It means be careful when you are applying my solution.

2

I'm using Neon.1a Release (4.6.1), I too have experienced the problem of Ctrl + o (to list the members )and Ctrl + d (to delete a line of code) not working, I tried closing and starting the eclipse but that didn't help. I've noticed an option named 'Restart' in the File menu. Choosing the option restarted the eclipse and the shortcuts involving Ctrl key started working as before.

2

I was finding about the welcome screen, but I disabled it, and apparently that was causing the issue everytime, because Ctrl+Shift+Right/Left worked with this all shortcuts worked fine, after disabling it. In Neon or other explise IDE versions, the welcome screen has an "Always show Welcome at startup" box you can uncheck, in the lower right corner of the welcome screen when it appears. After unchecking it, selecting words worked and all shortcuts start working again. Thanks for your upvotes, this solution might help you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.