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

Implement mode where one clangd runs per session

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.0
    • Fix Version/s: Qt Creator 7
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None

      Description

      This is likely required for people with a workflow where many projects (especially with cross dependencies) are in a session, and are not usually opened in isolation. The necessary steps are:

      • Let user choose between "project mode" and "session mode" in settings.
      • In session mode, let the "fallback client" serve everything. Generate a merged compile_commands.json (or use settings.compilationDatabaseChanges; investigate how the index location is constructed then).
      • On the LanguageClient side, tweak the assumptions about document/project and project/client relationships accordingly.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-26526
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            kandeler Christian Kandeler
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change