Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
Preferences > "Qt Quick" > "QML/JS Editing" > "Automatic Formatting on File Save" allows us to auto-format *.qml files when saving them.
Now that qmlformat 6.8+ can handle plain *.js files too (QTBUG-117849), it would be nice if we could extend the option above to cover *.js files too (although this would need to be limited to Qt 6.8 and newer)
Attachments
Issue Links
- depends on
-
QTBUG-117849 qmlformat: support formatting of plain JS files
-
- Closed
-
- relates to
-
QTCREATORBUG-32861 [Reg 14.0.0 -> 16.0.1] Excessively large auto-indentation in complex *.js files
-
- Open
-