LanguageClient: add projects filter function

Can be used to filter projects get reported to the language client on
server startup and when a project gets opened.

Change-Id: I8cfbc45ecb5251fcaecf2c331a9f1eff966c8db1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
David Schulz
2023-05-24 10:09:22 +02:00
parent beea9ec157
commit bc9e90f8b6
2 changed files with 16 additions and 6 deletions

View File

@@ -132,6 +132,7 @@ public:
ProjectExplorer::Project *project() const;
virtual void projectOpened(ProjectExplorer::Project *project);
virtual void projectClosed(ProjectExplorer::Project *project);
virtual bool canOpenProject(ProjectExplorer::Project *project);
void updateConfiguration(const QJsonValue &configuration);
// commands