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

qmlls: support applying quick-fixes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.7
    • None
    • QML: Tooling
    • None
    • 50a7560b7 (dev), 3e4fb204b (6.6)

      Search the LSP for quick fixes and, if it exists, implement it in qmlls. I believe qmllint already supports something similar.

       

      Also, check if you can apply all quick-fixes at the same time.

       

      See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction for more infos, search for CodeAction and source.fixAll.

      Also take a look how it works on the clangd lsp side.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes