Commit 6cc6d7e3 authored by Jérome Perrin's avatar Jérome Perrin

software/theia: document jedi issue 1325 and a workaround

parent 1b266535
...@@ -13,3 +13,14 @@ To install vscode's python plugin ( https://code.visualstudio.com/docs/languages ...@@ -13,3 +13,14 @@ To install vscode's python plugin ( https://code.visualstudio.com/docs/languages
Check theia's log files in case of issues. Check theia's log files in case of issues.
see https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions for more details. see https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions for more details.
## jedi
[jedi](https://github.com/davidhalter/jedi) which is used by both thiea and vscode python plugins has
some support for `zc.buildout`. It looks up for a `buildout.cfg` file and if found will load all scripts
from the bin directory from this buildout to add eggs to sys.path. In webrunner we have almost 100 scripts
in bin directory, with maybe 30 eggs in each scripts, so this makes jedi so slow it's unusable. Also, if
an error occurs parsing these scripts, jedi won't be usable. This issue is tracked in
https://github.com/davidhalter/jedi/issues/1325
A simple workaround is to create and empty `buildout.cfg` file at the root of project folder.
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment