Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
4c1b7104a (dev), a8aad1afd (dev), d932c2574 (dev), a0f946d41 (dev), acb7f79f5 (dev), f8f3a9277 (dev), 6e0180073 (dev), a0904516e (dev), 0a475fd97 (dev), 6df9065fd (dev), d7d656c19 (dev), 1c434e777 (dev), ad83c1b0d (dev), 8b7551264 (dev), 4eba50d8a (dev)
Description
qmlformat currently doesn't support formatting of .js files. This is one of the missing feature to replace QtCreator's code model.
We should first add support in qmldom to open .js files and should be able to get AST for that file. Formatting then can rely on how qmlformat currently formats ScriptExpression elements.
Attachments
Issue Links
- is blocked by
-
QTBUG-123386 QmlFormat. Incorrect handling of some comments
- Reported
- is required for
-
QTBUG-119967 qmlformat: reach feature parity with QtC built-in formatter
- Reported