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

Qml formatter breaks function arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.9.0-rc1
    • Fix Version/s: Qt Creator 4.10.0-beta1
    • Component/s: Editors
    • Labels:
      None

      Description

      Assume we have simple function:

          function doLogin(name,password) {
              currentSession = Platform.startSession(name, password)
          }
      

      after format becomes

       function doLogin(namepassword) { currentSession = Platform.startSession(name, password) } 
      

      Give me my comma back please

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                tjenssen Tim Jenssen
                Reporter:
                alexeym A M
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes