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

Switch Header/Source often chooses the wrong file

    XMLWordPrintable

Details

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

    Description

      Since the change to use clangd to handle Switch Header/Source, behavior has been much less reliable compared to the built-in code model when header and source files are kept in separate directories. See upstream bug report here: https://github.com/clangd/clangd/issues/1617 Disabling clangd restores header/source swapping in these situations, but also sacrifices all the other related editor features.

       

      One suggestion is to provide the ability to force the internal code model for header/source switching. This would allow affected users to use the old behavior until the clangd bugs are resolved.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            akb825 Aaron Barany
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes