Theia: updates improving python language server
Update versions and tweak a bit python language server config. After some investigation, I understood that completions where slow for us because jedi add some [buildout support](https://github.com/davidhalter/jedi/blob/cef769ecd8b3a50cd0784d8660b123f4bf0eaec2/jedi/evaluate/sys_path.py#L132-L137) which walks up directories to find a `buildout.cfg` and inspects the corresponding scripts in `bin` to find python package paths. On web runner I have 98 scripts in `~/bin/`, each of them adding between 30 and 50 entries to `sys.path`. A quick workaround is to create an empty `buildout.cfg` in the current directory or a parent directory before editing python code. /reviewed-on nexedi/slapos!509
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment