Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Ken_SF on September 28, 2020, 08:43:31 pm

Title: How to quickly find a function using keyboard shortcuts
Post by: Ken_SF on September 28, 2020, 08:43:31 pm
Hi,  I am new to the forum.  I am using Code::Blocks 17.12 and am relatively new to C++.

I recall a feature I used to use with Classic Visual Basic (vb6) where the IDE would jump to a function if I pressed a specific function key while my mouse was over code that referenced the function.  Is there a similar feature in Code::Blocks?  If not, I vote to add this functionality; it was very useful when I used VB6.

Example:  Say I have a function called SomeFunction(); that is called in int main().  I'd like to position my mouse over the text 'SomeFunction();' while in main(), press a shortcut key (say a function key) and have the IDE magically take me to the place where the function is defined in the program.

Can this be done using Code::Blocks.

BTW: Thanks to all of the current and past Code::Blocks developers. I like the product.

Ken
Title: Re: How to quickly find a function using keyboard shortcuts
Post by: oBFusCATed on September 28, 2020, 08:55:47 pm
These are the commands in the menu:
Search -> Goto declaration
Search -> Goto implementation

Next to them are the keyboard shortcuts.
Title: Re: How to quickly find a function using keyboard shortcuts
Post by: Ken_SF on September 28, 2020, 10:09:57 pm
Perfect.

Thank you.

Ken