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

Qt Creator Follow symbol under cursor opens wrong files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 5.0.2
    • Fix Version/s: None
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
    • Platform/s:
      macOS

      Description

      In the Qt Creator session I have a multiple projects opened.

      In each of them there is a git submodules of the same git project.
      If using feature "Follow symbol under cursor" applied to a functions of the shared git projects Qt Creator is opening random project's files instead of current one.

      Expected behavior: within project if I click "Follow symbol under cursor" it opens the same project files only.

      Issue: Qt Creators opens files from another projects instead when "Follow symbol under cursor" feature used.

      If file names are different there is no issue. If there is a .cpp or .h files with the same name in multiple projects, Qt Creator randomly opens wrong files when "Follow symbol under cursor" clicked.

      It is very annoying and makes difficulties in debugging.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            ighor IGHOR
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes