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

Chosen "Active Parse Context" is not reflected by "Synchronize with Editor" in "Projects" tree view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 14.0.2
    • C/C++/Obj-C++ Support
    • None
    • Windows

    Description

      I have a subdirs project with two projects:

      • App project
      • Qt Test project

      To test classes defined in the App project I include headers and sources in the Test projects pro-file via relative paths.

      When I open such a file, that lives in on place on the disk but has actually two parse contexts, a info-band pops up in the edit to inform me, that I can choose the "preferred one".
      Never had used this before but I like the idea.

      However, the "Project" tree view does not highlight the right entry, even though the "Synchronize with Editor" is switched on.

      E.g., when I double-click on the file in the project the sync highlights the top most occurance in the tree.

      Please have a look at the attached recording.

      Sometimes I double-click on the filename in the Test project, but the highlighting directly jumps to the other project. Independent on what context was set.

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes