Python: detect language server for python asynchron

Change-Id: I775e4cc21dc443b9ec6af81fabef9cf2bfd4e7d2
Fixes: QTCREATORBUG-23599
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2020-02-17 13:06:08 +01:00
parent dec8113377
commit 5a2de2609e
2 changed files with 52 additions and 21 deletions

View File

@@ -40,6 +40,8 @@ namespace TextEditor { class TextDocument; }
namespace Python {
namespace Internal {
class PythonLanguageServerState;
class PyLSConfigureAssistant : public QObject
{
Q_OBJECT
@@ -56,6 +58,9 @@ public:
private:
explicit PyLSConfigureAssistant(QObject *parent);
void handlePyLSState(const Utils::FilePath &python,
const PythonLanguageServerState &state,
TextEditor::TextDocument *document);
void resetEditorInfoBar(TextEditor::TextDocument *document);
void installPythonLanguageServer(const Utils::FilePath &python,
QPointer<TextEditor::TextDocument> document);