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

Read/Write files with normalized mode in the DOM

    XMLWordPrintable

Details

    Description

      DOM doesn't open the files in normalized form. That cause us always to deal with different line endings, for example, handling or '\r' character in the utility functions.

      A likely main painpoint would be how qmlformat deals with endline terminators. Currently, it heavily uses platform specific newlines while rewriting the code. Also, a couple of test cases might be needed to adapt the change.

       

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              semih.yavuz Semih Yavuz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes