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

Switching header/source doesn't always find correct file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 3.1.2, Qt Creator 4.7.0
    • C/C++/Obj-C++ Support
    • None

    Description

      Switching between header and source (via F4) doesn't always find the correct file. It only finds the first matching filename.

      If you have two identically named files, (but, for example, located in different folders), F4 will only ever return the first file.

      E.g.:
      include/libraryA/Widget.H
      src/libraryA/Widget.C
      include/libraryB/Widget.H
      src/libraryB/Widget.C

      If you hit F4 on Widget.C, it finds libraryA/Widget.H instead of libraryB/Widget.H.

      Attachments

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              matt.harris Matt Harris
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: