Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26509

Outline dropdown does not sync correctly within namespace

XMLWordPrintable

    • f6812964846b27fa9cb40812f6ae27721e08cc94 (qt-creator/qt-creator/6.0)

      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.

        For Gerrit Dashboard: QTCREATORBUG-26509
        # Subject Branch Project Status CR V

            davschul David Schulz
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes