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

Allow adding context to Search Results

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.6.0-beta1
    • Editors
    • None

    Description

      Consider the following typical code snippet:

      connect(m_timer, &QTimer::timeout(),
              this, &Class::slotTimeout());

      When doing "Find Usages" on m_timer, I get the following search result:

      530     connect(m_timer, &QTimer::timeout(),

      If I want to see where the signal is connected to, I need double click the search result to open an editor at that position.

      It would be very convenient to optionally display a number of context lines before/after each search result (maybe like the DiffEditor allows for chunks).

      Maybe it would already be enough to have this extra information as tooltip.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              aha_1980 André Hartmann
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes