Community
Participate
Working Groups
Build Identifier: I20100618-1748 If I try to cut parts of the code in order to paste it somewhere else, Ctrl+X closes Eclipse immediatelly without any warning or asking. Reproducible: Always Steps to Reproduce: 1. Press Ctrl + X in Eclipse
This happens in my inner but never my outer. 1. Make a new cheat sheet. 2. Go to the 'Source' tab. 3. Ctrl+A 4. Ctrl+X 5. Eclipse quits. Paul suspects it might be a demo contributing Ctrl+X as a keybinding to the quit handler but neither the contacts nor the photo demo is in my launch configuration.
I can confirm this on linux build I20120503-1800 it seems that this gets set as the default somehow, if i remove it from the keybinding list everything works fine, but if i reset the defaults, it appears again.
This happens for me in Juno RC3. The key binding is not visible and can not be changed. I am using Linux x86_64.
(In reply to comment #3) > This happens for me in Juno RC3. The key binding is not visible and can not be > changed. What specific install of eclipse (filename)? Can you attach your <workspace>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi ? PW
Created attachment 216891 [details] workbench.xmi
The file is eclipse-SDK-I20120601-1900-linux-gtk-x86_64.tar.gz. I have installed CDT, Android and Linuxtools. Now that I see the interesting line <bindings xmi:id="_4WNTIapkEeGMgZRbLF_PiQ" keySequence="CTRL+X" command="_7sE5UapY EeGi2N9UwWjGug"/> ... <commands xmi:id="_7sE5UapYEeGi2N9UwWjGug" elementId="org.eclipse.ui.file.exit" commandName="Exit" description="Exit the application" category="_7sDEDKpYEeGi2N9UwWjGug"/> I will try and see what happens if I delete this... What happens if I delete the workspace.xmi completely? Will only my key bindings be lost? In that case I would prefer this simple solution, who knows what other dangers await me in this file...
If you shut down and delete your workbench.xmi it will start up "fresh" in the java perspective with the default keybindings. It won't effect your workspace, projects, or preferences. The other place you can check for saved keybindings is in <workspace>/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs I believe the pref in this file is org.eclipse.ui.commands PW
I did delete workbench.xmi, and everything is fine again. But strange enough this key binding suddenly appeared out of nowhere (after the update to 4.2). I regularly use ctrl+x for cutting and I never would have changed to keybinding from it.
Deleting the file doesn't work for me, as it is recreated when I start Eclipse. Using Eclipse Kepler.
Could you please attach your configuration from the Help>About>Installation Details>Configuration page? PW
I cannot reproduce this with standard Eclipse. Marking as worksforme, please reopen if you are able to reproduce with an a fresh Eclipse installation.