Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
02707f1f5 (dev), 2d3348ab2 (6.8)
Description
From the original bug report:
import QtQuick.Controls [dot] does not then show the available modules. The old QML Code model does this. It simply offers "as" assuming to then write a namespace.
I think there is a position mismatch and the wrong completion is suggested between
"import QtQuick.Controls." and (whatever root type, "Item" for example). The "as" makes sense after the "Item" (if it were a module), but it does not make sense at the current position.
Attachments
Issue Links
- resulted in
-
QTBUG-126766 qmlls: rework completion codes for imports
- Reported
- split from
-
QTCREATORBUG-31125 Various issues with QML LSP
- Closed
For Gerrit Dashboard: QTBUG-126712 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
572115,2 | qmlls: fix regular expression for import completion | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
574358,2 | qmlls: fix regular expression for import completion | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |