Details
-
Task
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.0
-
None
-
2fc5dba1c3 (qt-creator/qt-creator/master) 2fc5dba1c3 (qt-creator/qt-creator/qds-dev) 2fc5dba1c3 (qt-creator/qt-creator/9.0)
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 |
381228,19 | ClangCodeModel: Do not create a compile_commands.json file for clangd | master | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |
382736,3 | CppEditor: Add settings for clangd session mode | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
429413,3 | ClangCodeModel: Implement per-session mode for clangd | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |