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

[Reg 11.0.3->12.0.0-beta2] "Jump to File Under Cursor" on CMake include() jumps to wrong file

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Load the attached project
      2. Open ModuleA/CMakeLists.txt, hover your mouse cursor over "myinclusion.cmake", and activate "Jump to File Under Cursor" (F2)
      3. Open ModuleB/CMakeLists.txt, hover your mouse cursor over "myinclusion.cmake", and activate "Jump to File Under Cursor" (F2)

       

      Expected outcomes (QtC 11.0.3)

      • Step #2 opens ModuleA/myinclusion.cmake
      • Step #3 opens ModuleB/myinclusion.cmake

       

      Actual outcomes (QtC 12.0.0-beta2)
      Steps #2 and #3 both open ModuleA/CMakeLists.txt

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes