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

Support auto-formatting when saving *.js files

    XMLWordPrintable

Details

    Description

      Preferences > "Qt Quick" > "QML/JS Editing" > "Automatic Formatting on File Save" allows us to auto-format *.qml files when saving them.

      Now that qmlformat 6.8+ can handle plain *.js files too (QTBUG-117849), it would be nice if we could extend the option above to cover *.js files too (although this would need to be limited to Qt 6.8 and newer)

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes