setting from pyls trismit
| 121 | |
| 122 | // setting from pyls trismit |
| 123 | QProcess *createPythonServ(const newlsp::ProjectKey &key) |
| 124 | { |
| 125 | lspServOut << __FUNCTION__ << qApp->thread() << QThread::currentThread(); |
| 126 | if (key.language != newlsp::Python) |
| 127 | return nullptr; |
| 128 | |
| 129 | auto proc = new QProcess(); |
| 130 | auto env = proc->processEnvironment(); |
| 131 | env.insert("PYTHONPATH", packageInstallPath("python3")); |
| 132 | proc->setProcessEnvironment(env); |
| 133 | proc->setProgram("python3"); |
| 134 | proc->setArguments({ "-m", "pylsp", "-v" }); |
| 135 | |
| 136 | return proc; |
| 137 | } |
| 138 | |
| 139 | // setting from pyls trismit |
| 140 | QProcess *createJSServ(const newlsp::ProjectKey &key) |
nothing calls this directly
no test coverage detected