lsp-python-ms
lsp-python-ms copied to clipboard
textDocument/references method is timeout
I changed to pyls to mspyls in spacemacs and found out xref functionality does not work anymore
lsp-request: Timeout while waiting for response. Method: textDocument/references.
Do I have to config anything to use it? Both of emacs and mspyls are master built.
Thank you
Please provide more details including OS version, Emacs version, package version, steps.
And please use vanilla Emacs, then set lsp-print-io
to t
and provide the logs here.
Sorry for incomplete request. I added some information and try to reproduce with minimal configuration.
Emacs: GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.3.0, NS appkit-1894.30 Version 10.15.3 (Build 19D76)) of 2020-04-03 OS: osx Catalina Package: lsp-python-ms 20200223.2136 python-langage-server: bbb110cc3dfa7dd32f1f32064e6bab6f0bd54fa9
lsp-log below
Found the following clients for /Users/yan/OpenStack/neutron/neutron/plugins/ml2/plugin.py: (server-id mspyls, priority -2)
The following clients were selected based on priority: (server-id mspyls, priority -2)
Analyzing in background, 49 items left...
Analyzing in background, 204 items left...
Analyzing in background, 117 items left...
Analyzing in background, 74 items left...
Analyzing in background, 27 items left...
Analyzing in background, 6 items left...
Analyzing in background, 1 items left...
Found the following clients for /Users/yan/OpenStack/neutron/neutron/plugins/ml2/db.py: (server-id mspyls, priority -2)
The following clients were selected based on priority: (server-id mspyls, priority -2)
Analyzing in background, 3 items left...
Analyzing in background, 1 items left...
It's weird that there is no log seems to be noticeable.
Also, I found relatively small codebase works well, and pyls
works even in current problematic codebase. (http://github.com/openstack/neutron)
Thanks
I guess there are huge files/folders in the current folder. See FAQ.
@seagle0128 Does it consider virtualenv folder to be huge files? I don't see any specific files but them.
Unfortunately I couldn't reproduce this issue in my env.