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

qmlls: wrong autocompletion on attached types

    XMLWordPrintable

Details

    • 8f26cd284 (dev), d600d63e2 (6.8)

    Description

      It seems that qmlls confuses attached types and the root type while suggesting completions on attached types:

      import QtQuick
      import QtQuick.Templates
      
      Item {
          property bool v: StackView.<autocomplete> // only suggest StackView attached type properties, instead of the Item's properties
      }
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes