Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: SamT on June 19, 2007, 03:21:26 am
-
Hi all,
There are two funcitons implemented in C::B. When I right click a function call, I could have "Find declaration" and "Find implemention". These two functions are very useful to me. However, I can't find any shortcut related on these. Right click the mouse and select is the only way to use it. Can I add it in keyboard shortcut?
Furthermore, is it possible to have one or two panels in message box to show the function declaration(and/or implemention) automatically when the cursor moved to a function call? I used this function in "Source Insight" (one of a commercial editor) because I can't remember all of the function declaration during coding...
-
That'd be a nice idea...please post it in the feature requests so it won't get lost in here. BTW, the find declaration / implementation belong to the Code Completion plugin. Code::Blocks "core" doesn't have the campability of parsing C++. Perhaps that's why it's poorly integrated.
-
Furthermore, is it possible to have one or two panels in message box to show the function declaration(and/or implemention) automatically when the cursor moved to a function call? I used this function in "Source Insight" (one of a commercial editor) because I can't remember all of the function declaration during coding...
This feature is also available in M$VS8 as "Code Definition Window", it shows definitions for anything under cursor (functions, types, enum values, macros etc), very convenient.
-
That'd be a nice idea...please post it in the feature requests so it won't get lost in here.
How can I post a feature request in the system? Could somebody help on this? Thank you very much!
-
Hi all,
There are two funcitons implemented in C::B. When I right click a function call, I could have "Find declaration" and "Find implemention". These two functions are very useful to me. However, I can't find any shortcut related on these. Right click the mouse and select is the only way to use it. Can I add it in keyboard shortcut?
hmm... the solution seems as simple as adding main menu options for some of the CC featues so that keybinder can bind to it... (a minor complication is getting the selected text before sending to the currently existing message handlers because m_lastkeyword, m_lastincludefile get filled when the context menus are created)
-
patch: http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2074&group_id=5358
(adds "insert class method decl/impl" to edit, "insert unimplemented methods" to edit, "find implementation" to search, "find decl" to search and "find include" to search -- they can be bound to keys with keybinder under editor settings -> keyboard shortcuts)