forked from qt-creator/qt-creator
LanguageClient: log exit notification
Add a private function that logs and sends a basemessage without checking the current server state and use it for server init, sendContent and exit. Change-Id: I6532dfb36ef5bf4d036bb71dbfab4ab29497fc9a Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -221,6 +221,7 @@ protected:
|
||||
virtual void handleDiagnostics(const LanguageServerProtocol::PublishDiagnosticsParams ¶ms);
|
||||
|
||||
private:
|
||||
void sendMessage(const LanguageServerProtocol::BaseMessage &message);
|
||||
void handleResponse(const LanguageServerProtocol::MessageId &id, const QByteArray &content,
|
||||
QTextCodec *codec);
|
||||
void handleMethod(const QString &method, const LanguageServerProtocol::MessageId &id,
|
||||
|
||||
Reference in New Issue
Block a user