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.