-
Notifications
You must be signed in to change notification settings - Fork 768
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
Takes a minute to red-underline a syntax error #6747
Comments
Hi. Any response on this? Thanks! |
Thanks for the issue. We'd need your source code to see what the problem is, or you could follow the steps here to give us an idea what import is taking so long to analyze: If you set those values, we should print the import path that's taking so long to evaluate. |
Hi. Maybe a quick and dirty workaround would be to allow the user to disable the analysis of all interactive notebooks? That being said, I only observe this issue when I ssh to a remote server, so maybe that's part of the issue. Regarding the CPU profiling, I can do that but later. |
I am unable to attach |
Environment data
Code Snippet
Video of the behavior: https://youtu.be/di84BJIDDH0
Repro Steps
I think having an open notebook makes this worse. But I don't really know how to reproduce this consistently. I use this kind of interactive notebook: https://code.visualstudio.com/docs/python/jupyter-support-py.
Expected behavior
Responsive UI
Actual behavior
Extremely slow (~1 minute to red-underline a syntax error, etc)
Logs
Logs
The text was updated successfully, but these errors were encountered: