Hi,
I have this problem since a few years but I was able to reproduce it more easily with the nightly build svn 11810. I'm working on multiple generation of a product spanning 20 years.
When two (or more) projects are opened in C::B and a function that have the same name in both project then using the "Find implementation of: <what is="" selected="">" will open the first one found instead of the one is currently active project.</what>
See attached file that contains 2 test projects.
How to reproduce:
- Open Project Test A and Project Test B.
- Activate B and use "Find implemantation" in the file "CallThis.c" on the function "TestThis".
Result:
It will open the file in Project Test A even if "Project Test B" is the active one.
Can the find pick the one in the active project first and then fall-back to others ? Or this could be configurable ?
Actually, this is intended. Very often a typical setup of a workspace is libs or sdks as projects and a main project to combine these. In that case you want to search implementations in all projects. Maybe we can priorise CC suggestions to first show the ones of the active project or make this an option?