User forums > Using Code::Blocks

Keyboard Shortcuts for non menu items

(1/3) > >>

Timbo:
If I right click on a variable there is a menu with the entries "Find declaration of :'...'" and "Find implementation of :'...'".
Is there a way to set shortcuts for these comands.
The Keyboards Shortcuts plugin doesn't work since these commands aren't in the normal menu (or I couldn't find them there).

sory139:
I've created a patch that adds two new menu items (Go to declaration / Go to implementation) that you can map to any key combination.

The downside is that you need to get c::b from svn, patch it and build it.

[attachment deleted by admin]

Kos:
Good job. I apply that it should be added in the next nightly.

killerbot:
I wanted to apply it, but there were some berlios issues last weekend, so I will apply it this evening.

MortenMacFly:

--- Quote from: killerbot on June 16, 2008, 01:11:43 pm ---I wanted to apply it, but there were some berlios issues last weekend, so I will apply it this evening.

--- End quote ---
I am testing here, too... so far no issues. But I would welcome some more testing... especially under Linux. As you know: CC modifications should always be applied with extra care... ;-)

Edit: one thing I noticed: If your cursor is outside a method / keyword you get a strange error just stating:
---------------------------
Warning
---------------------------
Not found:
---------------------------
OK   
---------------------------

This should be fixed. Either the menu gets disabled or the error message really states *something* meaningful.

Navigation

[0] Message Index

[#] Next page

Go to full version