Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20451

QML formatter removes semicolons from javascript

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.6.1
    • Quick / QML Support
    • 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...)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            flaviotordini Flavio Tordini
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes