After PR #13109, the outline explorer populate its content only after a change is made to a file.
It would be great if the content of the outline explorer could be populated for all files that are open on startup.
Thanks @jnsebgosselin for the feedback! @ccordoba12 @andfoy is there something that we can do here?
Yes, we are aware of this bug, I think this is a problem with the LSP requests, which are being sent before the server is fully initialized. I can add a workaround on PR https://github.com/spyder-ide/spyder/pull/13885 as well
@jnsebgosselin, do you have any further comments regarding the new outline explorer improvements?
No, I think everything else is looking good. Thanks for the work you've done here. I'm glad that the OE was finally migrated to use the LSP, I think this is neat and I hope this will be easier to maintain too.
Dwelling more into this subject, I think this issue is more related to PR https://github.com/spyder-ide/spyder/pull/13828, I don't know what @ccordoba12 thinks about it
Dwelling more into this subject, I think this issue is more related to PR #13828, I don't know what @ccordoba12 thinks about it
Yeah, I think it is. I'll take a look at this problem in that PR.
@andfoy, please don't add a workaround for now (it shouldn't be necessary).
No, I think everything else is looking good. Thanks for the work you've done here. I'm glad that the OE was finally migrated to use the LSP, I think this is neat and I hope this will be easier to maintain too.
Yes, we think it's going to be much easier to maintain and extend.
@ccordoba12 PR #13938 fixed the problem when starting Spyder, thank you very much!
However, the same problem is still present when switching projects.
Most helpful comment
Yes, we are aware of this bug, I think this is a problem with the LSP requests, which are being sent before the server is fully initialized. I can add a workaround on PR https://github.com/spyder-ide/spyder/pull/13885 as well