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

Add a "max line length" field to customize QML auto-formatter

    XMLWordPrintable

Details

    • 87e52ad189 (qt-creator/qt-creator/master)

    Description

      As of QtCreator 4.11.0, the max line length is hardcoded to 80 in QtCreator source code (qmljsreformatter.cpp, BestSplit class).

      This value is way too small on HD screen displays and makes QML auto-formatter barely usable.

      It would be a nice feature to have it customizable in Qt Quick options window (see below).

       

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-23411
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            daveloper David Joassard
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes