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

C++ editor doesn't follow static member symbols

    XMLWordPrintable

Details

    • a0764603d09adef7c7d561c0cbc800ab9a194467 (qt-creator/qt-creator/master)

    Description

      Hello,

      In Qt creator, the c++ editor doesn't show the definition of static class members when I press F2 (follow symbol under cursor).
      It performs better with methods.

      For example, I have this header :

       

      #pragma once
      #include <QString>
      
      class Test {
      public:
          static QString message;
      }

       

      And this cpp :

      #include "test.h"
      
      QString Test::message = "Toto";

      If I put the editor cursor on the "message" member in the header, and press F2, it does not display the .cpp file.

       

      Can you do something about this ?
      Thank you in advance

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            n.moreaud Nicolas Moreaud
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes