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

Outline dropdown does not sync correctly within namespace

    XMLWordPrintable

Details

    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes