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

LSP Client: support renaming Files

XMLWordPrintable

    • ac5ab71db (12.0)

      Add renaming support to be able to rename QML components in the QML Language Server.

      For example:

      // A.qml
      import QtQuick
      Item {}
      
      // B.qml
      import QtQuick
      Item {
          property A myProperty // renaming A implies renaming the A.qml file too!
      }
      

       

      The idea was to rename files using 'documentChanges' from a WorkspaceEdit (see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspaceEdit ), but the support for 'documentChanges' is not implemented yet in the QtC LSP client.

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

            davschul David Schulz
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes