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

qmlls standalone: format on save behaves weird

    XMLWordPrintable

Details

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

    Description

      – 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.

      Attachments

        1. awesome-ping-pong-scoreboard.zip
          4.85 MB
        2. indent.gif
          indent.gif
          7 kB
        3. RandomProvider 1.qml
          262 kB

        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
              semih.yavuz Semih Yavuz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes