Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: bonsaiben on October 04, 2010, 06:36:17 am

Title: "Swap header/source" and "Find declaration/implementation..."
Post by: bonsaiben on October 04, 2010, 06:36:17 am
I don't understand why "Swap header/source" is able to find the matching header/source file to the file you're currently viewing, but "Find declaration/implementation" shows a list of every file containing a function of the same name as the one you clicked. Why can't it just look in the matching header/source file?? :shock:

This isn't really a feature request... I'm sorta just perplexed by this and would like to know if there's some explanation for it... because it seems like a no brainer to me! Just being honest. :?
Title: Re: "Swap header/source" and "Find declaration/implementation..."
Post by: ollydbg on October 04, 2010, 07:20:36 am
I don't understand why "Swap header/source" is able to find the matching header/source file to the file you're currently viewing, but "Find declaration/implementation" shows a list of every file containing a function of the same name as the one you clicked. Why can't it just look in the matching header/source file?? :shock:

Which version of CB did you use? cc-branch or the trunk?

I suggest you could try the cc_branch nightly. if the bug still exists, You can give a sample test project and I can test for you.