Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » key unbinding does not work?
key unbinding does not work? [message #1064742] Thu, 20 June 2013 14:37 Go to next message
slajerek . is currently offline slajerek .
Messages: 19
Registered: April 2010
Junior Member
Hi!

I've just downloaded newest Eclipse classic on Linux and installed CDT. I would like to unbind default F5 behavior (Refresh) and bind as F5 the Debug command. I went to Settings and Keys, there I found Refresh, removed the binding (changed to Alt+R), then found Debug and assigned F5. This does not work.

Now when I press F5 I see some menu on the right-down part of screen to select command Refresh or Debug... I searched for Refresh but the binding is not selected in the Settings screen. I tried even to export the CSV keybindings but I can't find duplicate F5 there.

Could you please explain how to properly unbind a command in Eclipse Juno? Thank you.

[Updated on: Thu, 20 June 2013 14:38]

Report message to a moderator

Re: unbinding does not work? [message #1064887 is a reply to message #1064742] Fri, 21 June 2013 10:07 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6850
Registered: July 2009
Location: Ottawa
Senior Member

On 06/20/2013 02:37 PM, Missing name Mising name wrote:
> Hi!
>
> I've just downloaded newest Eclipse classic on Linux and installed CDT.


It's a bug, related to this one, which has been fixed for Kepler:
Bug 387728 - [KeyBindings] Changing the keybindings to Emacs+ unstable

One possible workaround is to:

1) shut down eclipse

2) make a backup of
..metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi and delete the
file

3) restart eclipse and reposition your views/perspectives

That should cause the key bindings to be regenerated

Later,
PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm


Re: unbinding does not work? [message #1064900 is a reply to message #1064887] Fri, 21 June 2013 10:56 Go to previous message
slajerek . is currently offline slajerek .
Messages: 19
Registered: April 2010
Junior Member
Thanks for the info. It's true, Ctrl+B still works as Build but I changed it to F7.
Previous Topic:Set up Eclipse development environment
Next Topic:Breakpoints not working when using gdb
Goto Forum:
  


Current Time: Fri Apr 18 21:55:56 EDT 2014

Powered by FUDForum. Page generated in 0.01557 seconds