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
Outline pane is too slow when updating #11084
Comments
Do you have time to do this soon @bcolsen? I'm asking because I plan to do a 4.0.1 release next week with all the optimizations done during these days. |
Definitely something to do. On the other hand, we could get rid of most of the code and use the pyls to populate it. But before we can do that we need to add cell capability to the pyls. |
I definitely think we should leave this for Spyder 5. I know is though to maintain for v4, but it could require a big refactoring to move things to the PyLS. |
I think a 4.0.1 release is would be great. I won't have time in the next week or so, but over the break I'll try to see if there are any simple things I can do to speed it up. |
This no longer applies with the move to use LSP symbols in in 4.2 |
As a follow up to PR #11010 partially fixing #10992
For large files the outliner updates are still quite slow. You can see the difference after #11010 by closing and opening the outliner pane.
The next step would be to optimize
populate_branch
or only run partial updates on the document near the change:spyder/spyder/plugins/outlineexplorer/widgets.py
Line 495 in d3a0aeb
It could also be put into a non-blocking thread as well.
The text was updated successfully, but these errors were encountered: