Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 9.0.0-beta2
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
- 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
- Open
- replaces
-
QTCREATORBUG-21327 When using an enum that has been defined inside the QML then it will not auto-complete
- Closed