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

Support QML enums in the code model

    XMLWordPrintable

Details

    Description

      Since 5.10 QML does support declaring enums. (QTBUG-14861)

      Now the code model highlights and reformats enum correctly (attachments not relevant anymore), but more could be done:

      • highlighting of usages of enum name or values
      • completion of enum name or its values
      • semantic checking in the editor (for declarations e.g. that enum values are uppercase, for usages e.g. that enum value exists)

      Attachments

        Issue Links

          Activity

            People

              qtqmlteam Qt Qml Team User
              thohartm Thomas Hartmann
              Votes:
              43 Vote for this issue
              Watchers:
              38 Start watching this issue

              Dates

                Created:
                Updated: