Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113776

qmlformat fails to format if there is a escape char in the key string

    XMLWordPrintable

Details

    • All
    • 4c059a14b (dev), cf99be5ac (6.7), d661e38af (6.6), f1a41e5e9 (tqtc/lts-6.5)

    Description

      Formatting removes the escape character in the key string of a key-value pair of an object.  qmlformat complains that reparsing is needed. In lsp formatter, this causes faulty behaviour since lsp formatter doesn't perform second stability check as qmlformat does.

      Use the test case in the linked ticket.

      It is a dom issue. Not directly related to formatting.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-113776
          # Subject Branch Project Status CR V

          Activity

            People

              semih.yavuz Semih Yavuz
              semih.yavuz Semih Yavuz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes