Reputation: 944
When in a Java editor in Eclipse, pressing Ctrl+Alt+M inserts a new line (like hitting the enter key). How can I disable that? I did not find any corresponding entry in Preferences > General > Keys.
The same happens if I press Alt Gr+M (generally, Alt Gr seems to be the same as Ctrl+Alt in many cases).
Is there some other place where you can see/disable/change key shortcuts in Eclipse (or plug-ins?)
Upvotes: 3
Views: 6061
Reputation: 8158
@msa, Go to : Window --> Preferences --> General --> Keys. Now type Ctrl+Alt+M in the search box. You will find a command named as "Add Memory Block" & an option below that "Unbind Command". Select the command & press the button. Now Click on "Apply" button & you're done.
Upvotes: 3
Reputation: 564
In my case, it unbinds when binding it to another command (for example, maven install) when in Windows.
Upvotes: 1
Reputation: 13709
As stated by RAS, you can unbind the key combination functionality through eclipse preferences - > General -> Keys . Here's a screenshot for easy reference.
Upvotes: 1