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

"Find References to Symbol Under Cursor" on QML signals

    XMLWordPrintable

Details

    Description

      Too bad, doesn't work. Right click -> Find References to Symbol Under Cursor does amazingly nothing for signals defined in QML components. Tried with both property: type and type property syntax, and without properties at all.

      Steps to reproduce

      1. Create QML component
      2. Define some signals
      3. Add signal handlers, connections etc.
      4. Navigate to the original signal definition (at least, Follow Symbol Under Cursor a.k.a. F2 works)
      5. Select Find References to Symbol Under Cursor a.k.a. Ctrl+Shift+U (at least on Linux)

      Expected result

      Should find all onSignal: handlers, all Connections { function onSignal() }} with compatible targets, all {{signal() invocations, and all other usages of the signal.

      Actual result

      Nothing happens

      Attachments

        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
              ratijas ivan tkachenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes