Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: const451 on August 04, 2010, 01:34:48 am

Title: How to redefine F10 to step over instead of opening menu? (I am using Keybinder)
Post by: const451 on August 04, 2010, 01:34:48 am
How to redefine F10 to step over instead of opening menu?

What I mean is I redefined several keys, such as F5 - start debugging, F11 - step out, and etc., which all work as intended, except F10 key. I redefined F10 to step over however it selects the IDE menu instead.

Is there a workaround?

THX!
Title: Re: How to redefine F10 to step over instead of opening menu?
Post by: ollydbg on August 04, 2010, 03:03:56 am
There is a plugin named : Keybinder.

(I presume you have installed that, if not, then you need to reinstall or add it, it is a contributed plugin)

menu->edit->keyboard shortcuts
Title: Re: How to redefine F10 to step over instead of opening menu?
Post by: const451 on August 04, 2010, 03:57:06 am
@ollydbg -- I am using Keybinder.
Title: Re: How to redefine F10 to step over instead of opening menu?
Post by: ollydbg on August 04, 2010, 04:02:21 am
@ollydbg -- I am using Keybinder.

F10 and F11 works fine in my computer(windows xp), they were mapped to step and step in when debugging. :D
Title: Re: How to redefine F10 to step over instead of opening menu? (I am using Keybinder)
Post by: const451 on August 04, 2010, 04:16:20 am
I am in Ubuntu Lucid. Pressing F10 selects Code::Blocks File menu : (
Title: Re: How to redefine F10 to step over instead of opening menu? (I am using Keybinder)
Post by: Loaden on August 04, 2010, 04:55:33 am
I am in Ubuntu Lucid. Pressing F10 selects Code::Blocks File menu : (
Confirm, not work in ArchLinux too.
Title: Re: How to redefine F10 to step over instead of opening menu? (I am using Keybinder)
Post by: oBFusCATed on August 04, 2010, 09:34:33 am
Search the forum, there was a thread about this issue and there was also a patch.

summary of the thread: in gtk f10 is reserved key used to open the menu and applications are not allowed to redefine it.
Title: Re: How to redefine F10 to step over instead of opening menu? (I am using Keybinder)
Post by: const451 on August 05, 2010, 04:03:52 am
Ah, thank you guys! I should have just searched for "F10".