Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.0-beta2
-
f6812964846b27fa9cb40812f6ae27721e08cc94 (qt-creator/qt-creator/6.0)
Description
If you have a class in a namespace and surround your class method definitions in a
namespace Foo { void MyClass::blah() { ... // put text cursor here } } // namespace Foo
The selection in the outline dropdown above the editor stays at the namespace (Foo) instead of selecting the method within the namespace.
The extra outline view is a bit better: it does select the method, but it does not automatically expand the namespace node, so if you don't expand the namespace node manually it behaves similar to the outline dropdown.