LSP: use QtcProcess::splitArgs for language server arguments

Also store the executable and arguments in the stdio client to get a
more accurate comparison of clients.

Change-Id: I84fdd4ea5f32b17198d3f08e7f5d494f7fbe67dc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2018-09-10 15:15:37 +02:00
parent 08508522fe
commit 87381bbf90
6 changed files with 31 additions and 18 deletions

View File

@@ -26,6 +26,7 @@
#pragma once
#include "baseclient.h"
#include "languageclientsettings.h"
#include <coreplugin/id.h>
@@ -60,6 +61,7 @@ public:
static void removeMarks(const Utils::FileName &fileName, const Core::Id &id);
static void removeMarks(const Core::Id &id);
static void startClient(LanguageClientSettings setting);
static void startClient(BaseClient *client);
static QVector<BaseClient *> clients();