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

Quick-fix Shortcuts not working for QmlLS

    XMLWordPrintable

Details

    • 79cc12ab8 (master)

    Description

      In QtC, quickfixes from the language clients should be appliable using the quickfix shortcut (Option+Enter on macos, for example).

      While this works for C++ code like:

      This does not work for QML code like:

      You can apply the quickfix in QML code by clicking the lightbulb, but not via the shortcut.

      Qmlls is set up as following:

       

      I attached the example project, where the screenshots were taken from, as untitled20.zip.

      Attachments

        1. image-2023-08-29-11-02-43-847.png
          31 kB
          Sami Shalayel
        2. image-2023-08-29-11-03-17-841.png
          39 kB
          Sami Shalayel
        3. image-2023-08-29-11-03-58-443.png
          44 kB
          Sami Shalayel
        4. image-2023-08-29-11-04-50-165.png
          345 kB
          Sami Shalayel
        5. untitled20.zip
          4 kB
          Sami Shalayel

        Issue Links

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

          Activity

            People

              sami.shalayel Sami Shalayel
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes