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

Use IndentingLineWriter by default?

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • 6.10
    • None
    • QML: Tooling
    • None

    Description

      It seems that there is some discrepancy  / lack of understanding of which functionality we support as part of the formatting.

      One aspect of it is misalignment between `LineWriter` and `IndentingLineWriter`. 

      The latter one seem to be used by default in the RangeFormatting support of QmlLS, and the former one in other cases : QQmlDocumentFormatting in QmlLS and qmlformat tool, etc.

       

      IIUC IndentingLineWriter is a superior of the LineWriter, supporting Max line functionality as well.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            dima.a Dmitrii Akshintsev
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes