Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.6.1
-
None
Description
Tools => QML/JS => Reformat File removes end of line semicolons in JS blocks. All Qt examples do use semicolons so I think that's the preferred usage, apart from being the universally accepted best practice for JS developers.
The formatter should add missing semicolons by default.
(Btw, a keyboard shortcut for the formatter would be a handy addition...)