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

values of local enums are not highlighted and completion does not work

XMLWordPrintable

    • 68d6a762d914b0cfc1ede64161b14808d6e9b0ab

      void narf()
      {
          enum PlanForThisEvening { WatchTV, TheVerySameWeDoEveryNight, TakeOverTheWorld };
          PlanForThisEvening masterPlan;
          masterPlan = TakeOverTheWorld;
      }
      

      In this function the following does not work in Creator's C++ editor:

      • TakeOverTheWorld is not highlighted as enum value.
      • auto completion does not work for values of type PlanForThisEvening.

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

            erikv Erik Verbruggen
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes