Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 9.0.0-beta2
-
e1d90a796 (master), 9a32905bc (master), 564fed275 (master), b30d1749d (master), f1fdd8a61 (master)
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
- is duplicated by
-
QTCREATORBUG-20488 New QML Enum Keyword Unsupported
- Closed
-
QTCREATORBUG-20725 qt5.11.1 in qml enum type not to be highlight by qt creator
- Closed
-
QTCREATORBUG-29772 :when referring to enum property in a qml file QtCreator does not autocomplete QML enums
- Closed
- relates to
-
QTCREATORBUG-20653 QML enum causes incorrect indentation
- Closed
-
QTCREATORBUG-20794 Missing Design-Time checks for QML enumeration properties
- Reported
-
QTCREATORBUG-21801 No code completion for C++ scoped enums in QML editor
- Closed
- replaces
-
QTCREATORBUG-21327 When using an enum that has been defined inside the QML then it will not auto-complete
- Closed
For Gerrit Dashboard: QTCREATORBUG-19226 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
230055,3 | QmlJS: improve support for enum declarations | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
553582,6 | QmlJS: Improve handling of user defined enums | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
554915,2 | QmlJS: Add another static check for enum values | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
554973,3 | QmlJS: Add highlighting for enum usage | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
555331,2 | QmlJS: Add small tweak to semantic highlighter | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
555418,2 | QmlJS: Fix completion of enum | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |