User forums > Help

hotkey/shortcut view on tooltips

(1/2) > >>

MoonKid:
I found no functionality in C::B.

Is it possible to view the shortcuts in the tooltips?

example
"step into" should be "step into (Shift+F7)"

thomas:
The menus show their shortcuts by default. To have shortcuts displayed on tooltips, too, you would have to modify the XRC file (is not a configuration thing).

MoonKid:

--- Quote from: thomas on March 31, 2006, 10:52:32 pm ---The menus show their shortcuts by default.

--- End quote ---

Yes, I know. But it is not what I want. :)


--- Quote from: thomas on March 31, 2006, 10:52:32 pm ---you would have to modify the XRC file (is not a configuration thing).

--- End quote ---

I found no XRC file. I think it is in the source package.
Ok, it should be a configuration thing. I will set a request.

thomas:
The XRC files are inside share\CodeBlocks\resources.zip. You can edit them with any text editor (including Code::Blocks, SciTE, or Notebook).

Submitting a feature request will not avail you, since we will certainly not make this configurable any time soon, but it will be included in the action based event system, anyway. Right now, it is a prohibitive amount of work to change toolbar tooltips programmatically.

On the other hand, the future action-based event handling system generates toolbar buttons programmatically, anyway. Thus, showing shortcuts in tooltips (and making this configurable) comes for free.

MoonKid:

--- Quote from: thomas on April 01, 2006, 04:46:04 pm ---the future action-based event handling system generates toolbar buttons programmatically

--- End quote ---

Is it a wxWidget system or is it C::B specific?

It could be modified. Reading C::B settings/options
if tooltips + shortcuts
 read the <tooltip> tag + <shortcut> tag in the xrc files.

It is important for usability! Please do not close the feauter request. I will handle it as soon has possible.

Navigation

[0] Message Index

[#] Next page

Go to full version