There is something that I have been meaning to ask for for a long time.
If I look at a routine that calls another procedure / function, and if I want to see how that function works, then this is what I do:-
I highlight the name of it (easiest way doubleclick it).
I right click on it.
I select the first thing on the menu "Find declaration of [functionname]"
The IDE faithfully goes to the declaration of functionname and highlights it for me.
I right click on it.
I select the second thing on the menu (Find >) then "Find procedure definition".
I must have done this about a million times over the years.
Say I can't remember where a function definition is, but I can remember some code that calls it. The above finds it for me.
The problem:-
In my mind I am going for the "Find procedure definition" and so sometime I go straight for that second menu item instead of doing the Find Declaration bit first. This is because in my mind I never was interested in the Declaration, I just wanted the procedure definition.
The problem is that when you make that mistake (and I have probably done it thousands of times) it takes you to the declaration of the function that you are inside, rather than the definition of the function that you have highlighted.
Why does it do that?
Please could it be that when you highlight a call to a function and do right click, Find >, Find procedure definition that it does both both steps for you in one? and actually goes to the procedure definition of what is highlighted?
Or have I misunderstood something?
Or maybe it already changed and need to upgrade.. In which case; sorry.
thanks, DNJ