Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyls lstat-ing all files in the directory tree #928

Open
sntgluca opened this issue Apr 18, 2021 · 0 comments
Open

pyls lstat-ing all files in the directory tree #928

sntgluca opened this issue Apr 18, 2021 · 0 comments

Comments

@sntgluca
Copy link

Dear all,

I am using pyls using JupyterLab, via the excellent and new https://github.com/krassowski/jupyterlab-lsp package.

I do experience difficulties very similar to the one reported in #421

If I start Jupyter from my home directory, which contains several python projects, pyls walks though the whole tree, searching and lstat-ing all the python files in there, making the experience frustrating and unusable.
By starting the server from a different directory, without children to walk through, pyls works extremely well.

I checked the behaviour viastrace -p $(pgrep pyls) as recommended in the ticket.

I hope you can suggest how pyls could be configured (via environmental variables, or any other configuration trick) to force pyls to search only in my PYTHONPATH and in my open file, without traversing the whole directory tree.
Thank you

I am using

python-language-server==0.36.2
jedi==0.18.0
jedi-language-server==0.23.1
parso==0.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant