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

QtCreator's autoformat breaks .qbs file

    XMLWordPrintable

Details

    Description

      I enabled autoformat of qml and js files in Tools -> Options -> Qt Quick -> QML/JS Editing -> Enable auto format on file save and it breaks my .qbs file.

      I attached qbs file before and after saving.

      As you can see it hides "]" of cpp.defines section in comment and qtcreator detects wrong syntax.

      Attachments

        1. after.qbs
          2 kB
        2. before.qbs
          2 kB

        Activity

          People

            fawzi Fawzi Mohamed
            devalone Sergey Zakharov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: