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

"Switch Header/Source" doesn't work when basenames are different

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 3.1.2
    • C/C++/Obj-C++ Support

    Description

      Not sure if it is supposed to work.

      Following https://qt-project.org/wiki/Qt_Creator_ManualTests_ProjectsAndCode section: "Switching between sources and headers:" for the tests/manual/cplusplus-tools/cplusplus-tools.pro:

      When I open detail/header.h and do: "Switch Header/Source" it doesn't jump to detail/source.cpp, though doing: "Switch Between Function Declaration/Definition" over "int freefunc2(int)" inside detail/header.h works as expected.

      If it's not supposed to work please make it clear on the wiki, that we should test only dummy.h/.cpp files.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes