Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Key binding for 'Select target...' dialog is eventually overwritten

(1/3) > >>

Butter-Swimming Butterfly:
Any key-binding to the 'Select target...' dialog automatically clears while (and periodically after) Code::Blocks initiates.

This issue prevents me from adopting the key-command layout I want:
F1 => Select target...
F2 => Build
F3 => Build and Run
CTRL-F3 => Run (without building)Can this key-binding issue be fixed in the next Code::Blocks release?

Edit: Wrong forum section. I think I was supposed to post this on the 'General' board.

BlueHazzard:
Are other settings also cleared, or only the key bindings?
What operating system, what codeblocks version?
Is only the select target binding affected, or other bindings also?

Pecan:
Currently you cannot bind a permanent key to the Select target menu item because its sub menus disappear when CB is closed and it has no sub menus to bind to when CB is opened.

That menu item is actually just a place holder for a list dialog. I doubt that wxWidgets will ever have the ability to accept a key binding to such a transient object.

BlueHazzard:
Does he want to open the target dialog, or does he want to select a speciffic target?
Maybe this can be solved with some scripting. Does the key binder plugin supports only calling a script?

Pecan:

--- Quote from: BlueHazzard on February 10, 2019, 02:36:52 pm ---Does he want to open the target dialog, or does he want to select a speciffic target?
Maybe this can be solved with some scripting. Does the key binder plugin supports only calling a script?

--- End quote ---

Keybinder uses no scripts.
Keybinder has no scripting support.

Navigation

[0] Message Index

[#] Next page

Go to full version