User forums > Using Code::Blocks
Find Declaration leaves declaration hidden
MortenMacFly:
--- Quote from: k1mgy on November 23, 2005, 11:15:08 am ---but am hoping that it can be fixed someday.
--- End quote ---
Uuuh, uuuh! *snap*, *snap* While discussion around: Did you try the current CVS version? It seems there it's operating the way you want it to operate... at least on my sources... :)
Morten.
killerbot:
Hey folks,
just being a purist :
void f(int arg1, , int arg2);
This is the declaration of a function !!!
void f(int arg1, int arg2)
{
// my superior implementation ;-) (ever seen code with a smile displayed in it)
}
This is the definition, so when asking to see the declaration you should see the first flavour.
Anyone tested where the cursor ends up for a declaration like :
void function(
int arg1,
int arg2);
Cheers,
Lieven
k1mgy:
I installed binaries prepared by Ceniza http://gda.utp.edu.co/~ceniza/CodeBlocks/ and now "find declaration" brings it into focus smack dab in the middle of the viewport, which is just fine.
Killerbot is right (and this nuance slipped by me) the menu is labled "Find Declaration" where it ought to be labeled "Find Definition". I suppose both might be nice, actually.
Now hoping for that "Return to Origin".
/m
takeshimiya:
k1mgy, what you're suggesting, generally speaking is a navigation system with back and forward, just like any internet browser.
Just submit a feature request to the SF tracker.
Navigation
[0] Message Index
[*] Previous page
Go to full version