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

Document how to use the new "Global qmlformat Configuration"

XMLWordPrintable

    • 428842dd5 (17.0)

      Preferences > Qt Quick > Code Style was revamped in Qt Creator 17 (QTCREATORBUG-32600), but the snapshot docs still show the old screenshot: https://doc-snapshots.qt.io/qtcreator-master/creator-preferences-qtquick-code-style.html

      We need to document the new options, especially the "Global qmlformat Configuration" field because users are expected to type in a config file (as opposed to using a GUI to select from possible options).

      What does that field expect? Is it .qmlformat.ini entries? I made an educated guess, and that seems to be it (but users shouldn't be expected to guess):

       

      Ideally, the Qt Creator docs can simply point users to the official qmlformat docs. Unfortunately, those haven't been written yet: QTBUG-127286

      Furthermore, even though the preview pane shows that my settings would use Tabs instead of Spaces, the code editor still gives me spaces: QTCREATORBUG-32963

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

            semih.yavuz Semih Yavuz
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes