Reputation: 5448
I just upgraded Eclipse from Juno to Kepler, and suddenly I can no longer type asterisks. I have to open up a text editor, type the asterisk there, then copy-paste it into Eclipse. I can type an asterisk in Eclipse when I am using Find/Replace, but I am unable to when I am editing a python or Java file.
Upvotes: 11
Views: 6601
Reputation: 73
I had this same issue with Eclipse Photon, and fixed it by uninstalling the Eclipse SDK Test plugin. The fix was originally reported in this eclipse bug report.
Eclipse * Test
Upvotes: 2
Reputation: 1830
As shown in the image, the shortcut key shift+8
was assigned for the import command. You have to change this assignment by specifying a new one or removing it using the unbind command
button.
Do the same for all the commands, click apply and then restart Eclipse.
Upvotes: 10
Reputation: 7387
If you'd rather not hand-edit your workbench.xmi, you can also reassign the bindings by going to Eclipse > Preferences... > General > Keys. The two culprits in this case are "Import" and "Add to Working Set". (Scan the list of search results for the ones with ⇧8 in them, then reassign or unassign them entirely.)
Upvotes: 6
Reputation: 41
Close eclipse. grep your workspace for SHIFT+8; it should return matches in workbench.xmi:
workspace/.metadata/.plugins > grep -R "SHIFT+8" *
org.eclipse.e4.workbench/workbench.xmi: <bindings xmi:id="_aLHQwCaAEeOBOe4lOFe2qQ" keySequence="SHIFT+8 W" command="_eZ-6uoZrEeKW-cnY0IziBw">
org.eclipse.e4.workbench/workbench.xmi: <bindings xmi:id="_aLH30CaAEeOBOe4lOFe2qQ" keySequence="SHIFT+8 I" command="_eZucD4ZrEeKW-cnY0IziBw">
Edit the workbench.xmi file and remove the binding elements. Restart eclipse and it should be fixed.
Upvotes: 4
Reputation: 5448
Found a related post on Eclipse forums: http://www.eclipse.org/forums/index.php/m/1072966/?srch=asterisk#msg_1072966
Upvotes: 1