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

qmlls standalone: format on save behaves weird

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.10
    • 6.8
    • QML: Tooling
    • None

      – open the project
      – move the Random.qml contents into a file
      – add .vscode/settings.json the following settings

      { "editor.formatOnSave": true, "editor.formatOnSaveMode": "modificationsIfAvailable" }

      Then select the all content in the file, shift them to leftest by Shift + Tab.

      Cmd + S formats file in broken way.

      Right click + format document formats with no issue.

        1. awesome-ping-pong-scoreboard.zip
          4.85 MB
        2. indent.gif
          indent.gif
          7 kB
        3. RandomProvider 1.qml
          262 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            semih.yavuz Semih Yavuz
            semih.yavuz Semih Yavuz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes