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

qmlls: disabled warnings from embedded codemodel shown in tooltips

    XMLWordPrintable

Details

    Description

      It seems that hovering over some constructs allows to show warnings from the embedded codemodel that are actually disabled:

      The warning is bogus and related to a shortcoming of the embedded code model (see QTCREATORBUG-29864 and QDS-11149) and should be hidden because qmlls does find the property.
      To reproduce, open and build ProjectA, open ProjectA/main.qml and, with qmlls enabled, hover over "screenColor".

      The tooltip should be disabled for embedded codemodel warnings when those are disabled and not shown when qmlls is enabled.

      Attachments

        1. image-2024-08-12-14-05-37-147.png
          100 kB
          Sami Shalayel
        2. TwoProjectsWithoutImportPath.zip
          67 kB
          Sami Shalayel

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              sami.shalayel Sami Shalayel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes