Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 11.0.2
-
None
-
ac5ab71db (12.0)
Description
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.
Attachments
Issue Links
- is required for
-
QTBUG-114993 qmlls: rename files when renaming Qml Objects
- Closed
For Gerrit Dashboard: QTCREATORBUG-29542 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
499867,9 | LSP: add resource operations to the protocol implementation | 12.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |