Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 12.0.1
-
None
Description
Assume that I have a class inside a namespace. When defining a class's member function in the source file with help of a using-declaration (no full qualification), the "follow symbol under cursor" (Ctrl+Click) feature does not seem to work properly. See the example code below:
test.h
namespace Foo
{
class Bar
{
void func();
};
}
test.cpp
using Foo::Bar;
Bar::func()
{
return;
}
I can click on the function declaration in test.h and it finds the definition in test.cpp, but clicking on the definition in test.cpp it won't find the declaration in test.h. With full qualification instead [writing Foo::Bar::func()] this works as expexcted.