-
Notifications
You must be signed in to change notification settings - Fork 148
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
Autocompletion stoped working #344
Comments
Hi @sperezconesa, thank you for your report. Three quick questions:
My first guess would be it might have to do with the performance (from the browser output you show it seem that the completer does work, but it could be just to slow to be useful at all), see #336 - but if you can reproduce it with a small notebook I would start looking elsewhere for the problem. |
Wait, I just saw that you use JupyterLab 2.1.5. The most recent version of this extension (2.0) requires JupyterLab 2.2 because there were breaking changes related to completion in JupyterLab 2.2 release - this is a likely reason why the completer might not be showing up for you. If you are using 2.0, would you be able to upgrade JupyterLab? |
Great! now it works. It is a bit slow... Could it be because I have several:
Should I just pick one? Are they all similar? There is not a lot of information of this in the documentation and for newbies like me its a bit confusing. |
Actually, most of the time it is too slow to work fine... Do I need to have the libraries installed in every kernell? |
Hi @sperezconesa, sorry for the delay in getting back to you. You are doing everything correct with the config (you can chose to have only one or multiple diagnostics sources enabled). In short, flake8, pyflakes and pydocstyle differ in the choices on what is a warning, what is an error and what is not an issue. You can check this Reddit discussion to get a better sense on pyflakes and flake8 differences. If you need further guidance on the configuration of the server, check out the pyls repo, and give them a star to say thank you to the maintainers. I am sorry that the completion is slow; I feel this pain myself and will be working on it in the coming weeks with a goal to fix it in 2.1 release - subscribes to the releases ("Watch" button on top of the page → "Releases only") to get an update on it. For now I will close this issue as the completion slowness and general slowness are already tracked in #272 and #336. Please let me know if you have any questions. For very generic questions, you may get a faster response on Stack Overflow, but if you do not get an answer over there, please feel welcome to post a link to a question here. |
Thanks a lot! I look forward to ussing it when it is improved! |
Description
Hello,
I have installed jupyterlab-lsp with the instructions of the README and altough I have the most functionalities like code style marking, the tab-autocompletion does not work nor the automatic signature suggestions. I'm really happy with this extension but autocomplete is so crucial that I need to turn it off while coding.
Thank you very much for your help!
Best,
Sergio
Reproduce
I just tab when doing pd.Dat... and nothing appears
Expected behavior
Context
Required: installed server extensions
Required: installed lab extensions
Troubleshoot Output
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: