diff options
author | David Schulz <david.schulz@qt.io> | 2022-06-07 17:36:24 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2022-06-10 12:40:43 +0000 |
commit | ed22ef78543a41e334687b4c70493b8bd21ed7b3 (patch) | |
tree | 0f62b66edb8f1386ebf4bd51a7c66c3b64883f5b /src/plugins/python/pythonsettings.h | |
parent | e42ff3f14eb497d37ac26082d17efce683e0de16 (diff) | |
download | qt-creator-ed22ef78543a41e334687b4c70493b8bd21ed7b3.tar.gz |
Python: globalize Python language server settings
Change-Id: I84fcee6462064f0c788492fcfa12a77379af2bd7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonsettings.h')
-rw-r--r-- | src/plugins/python/pythonsettings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/python/pythonsettings.h b/src/plugins/python/pythonsettings.h index 3b5e60fc77..0721e56054 100644 --- a/src/plugins/python/pythonsettings.h +++ b/src/plugins/python/pythonsettings.h @@ -48,12 +48,15 @@ public: static Interpreter interpreter(const QString &interpreterId); static void setInterpreter(const QList<Interpreter> &interpreters, const QString &defaultId); static void addInterpreter(const Interpreter &interpreter, bool isDefault = false); + static void setPyLSConfiguration(const QString &configuration); + static QString pyLSConfiguration(); static PythonSettings *instance(); static QList<Interpreter> detectPythonVenvs(const Utils::FilePath &path); signals: void interpretersChanged(const QList<Interpreter> &interpreters, const QString &defaultId); + void pylsConfigurationChanged(const QString &configuration); private: PythonSettings(); |