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

Qml formatter breaks function arguments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.10.0-beta1
    • Qt Creator 4.9.0-rc1
    • Editors
    • 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

              tjenssen Tim Jenssen
              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