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

qmlls: missing completions on QML module imports

    XMLWordPrintable

Details

    • 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

          For Gerrit Dashboard: QTBUG-126712
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes