Erock 634
Erock 634

Reputation: 611

Changing Eclipse Exit Shortcut

I'm using eclipse on Ubuntu 12.04 and Ctrl+x closes my Eclipse. I tested Ctrl+x in other applications and it cuts text, which is what I want, so it must be an eclipse shortcut binding.

I checked my Preferences>General>Keys settings and couldn't find an exit/quit/explode eclipse command and when I search for Ctrl+x I only see 'Cut' binded to that key combo.

It has been driving me crazy so any help will be appriciated, you go to cut and omg eclipse is closing lol.

Upvotes: 3

Views: 2088

Answers (3)

Stefan  Bolus
Stefan Bolus

Reputation: 1

I had the exact same problem on Windows 8. The CTRL+x binding closed Eclipse but in the bindings dialog the only binding for CTRL+x was for the cut action. Finally, I have found the solution in the Arch Linux Wiki. See https://wiki.archlinux.org/index.php/eclipse#Ctrl.2BX_closes_Eclipse . It's a bug in Eclipse which can be solved by editing a metadata file by hand.

Upvotes: 0

ifeomaro
ifeomaro

Reputation: 2763

I had a similar problem. Here's how to solve it:

  1. When you open Eclipse, go to Window -> Preferences -> General -> Keys.
  2. Search for the 'Cut' command. The Binding option should show 'Ctrl+X'. Change the When option from 'In Dialogs and Windows' to 'Editing Text'.

Upvotes: 12

Francesco
Francesco

Reputation: 131

I checked my Eclipse environment, I don't have this problem. Ctrl+ X is for cut.

I can suggest to go where you did, and look inside the bindings column, if there is any ctrl+x and change it.

Look also for other programs you are running, maybe they listen to shortcuts.

Cheers

Upvotes: 0

Related Questions