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

Switching between clangd instances

    XMLWordPrintable

Details

    • 2c598814b (13.0), 0a27bc2e7 (master)

    Description

      Hello,

       

      I have a project and it have very heavy and big cmake structure. We use presets and cmake toolchain files and ninja multi-config under linux too. On linux I have a problem with clangd.

      At the top I can switch between two clangd instances as you can see on the picture

      My project specific clangd doesn't work. It cannot parse glm's inlined headers. The global clangd works well, but by default the project specific clangd is used.

       

      If I check the cmd line of the clangds from shell I can see that both are started with the same parameters except that one of them has --compile-commands-dir parameter (that points to an existing directory, where there is a creator generated compile_commands.json).

       

      Unfortunately I cannot identify which process belongs to which clangd setup.

       

      Could you tell me a way how can I make the global clangd the default clangd instance on the whole project?

       

      Thanks:

      Antal Tatrai

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            tatraian Antal Tatrai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes