LanguageClient: Add the project display name to the client name

If the client was opened for a specific project.

Change-Id: Iafc9f5d46d06e2e656702260f297d6b2b998a431
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-02-23 09:22:11 +01:00
parent 65d977ed93
commit 9cc234fbdf
2 changed files with 8 additions and 1 deletions

View File

@@ -87,7 +87,7 @@ public:
// basic properties
Utils::Id id() const { return m_id; }
void setName(const QString &name) { m_displayName = name; }
QString name() const { return m_displayName; }
QString name() const;
void sendContent(const LanguageServerProtocol::IContent &content);
void cancelRequest(const LanguageServerProtocol::MessageId &id);